From: Stefan Monnier Date: Sat, 6 Jul 2019 22:42:02 +0000 (-0400) Subject: * lisp/emacs-lisp/nadvice.el: Make it a package separate from `emacs`. X-Git-Tag: emacs-27.0.90~2072 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=851535f58745dcfbc8798b3a34b4fea852f93a3e;p=emacs.git * 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. --- diff --git a/lisp/emacs-lisp/nadvice.el b/lisp/emacs-lisp/nadvice.el index 2278e389cef..b0dd03edfd5 100644 --- a/lisp/emacs-lisp/nadvice.el +++ b/lisp/emacs-lisp/nadvice.el @@ -4,7 +4,6 @@ ;; Author: Stefan Monnier ;; 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 diff --git a/lisp/finder.el b/lisp/finder.el index f95049f60bd..ad9441210c5 100644 --- a/lisp/finder.el +++ b/lisp/finder.el @@ -240,7 +240,8 @@ from; the default is `load-path'." (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