* lisp/finder.el (finder-compile-keywords): Grab version from
package--builtin-versions when available.
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
;; Keywords: extensions, lisp, tools
-;; Package: emacs
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
(lm-synopsis))
version (lm-header "version")))
(when summary
- (setq version (ignore-errors (version-to-list version)))
+ (setq version (or (ignore-errors (version-to-list version))
+ (alist-get package package--builtin-versions)))
(setq entry (assq package package--builtins))
(cond ((null entry)
(push (cons package