* lisp/emacs-lisp/nadvice.el: Make it a package separate from emacs.

* lisp/finder.el (finder-compile-keywords): Grab version from
package--builtin-versions when available.
This commit is contained in:
Stefan Monnier 2019-07-06 18:42:02 -04:00
parent d8732a8245
commit 851535f587
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,6 @@
;; Author: Stefan Monnier <monnier@iro.umontreal.ca> ;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
;; Keywords: extensions, lisp, tools ;; Keywords: extensions, lisp, tools
;; Package: emacs
;; This program is free software; you can redistribute it and/or modify ;; 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 ;; it under the terms of the GNU General Public License as published by

View file

@ -240,7 +240,8 @@ from; the default is `load-path'."
(lm-synopsis)) (lm-synopsis))
version (lm-header "version"))) version (lm-header "version")))
(when summary (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)) (setq entry (assq package package--builtins))
(cond ((null entry) (cond ((null entry)
(push (cons package (push (cons package