Commit 851535f5 authored by Stefan Monnier's avatar Stefan Monnier

* 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.
parent d8732a82
Pipeline #2277 failed with stage
in 52 minutes and 2 seconds
...@@ -4,7 +4,6 @@ ...@@ -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
......
...@@ -240,7 +240,8 @@ from; the default is `load-path'." ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment