diff options
author | Stephen Gildea <stepheng+emacs@gildea.com> | 2021-08-25 17:39:26 -0700 |
---|---|---|
committer | Stephen Gildea <stepheng+emacs@gildea.com> | 2021-08-25 17:39:26 -0700 |
commit | 0aa0410372dc9dbd251fec0ec71a28e88b9697ec (patch) | |
tree | 63a3f18285ca0e681e218c93e7e6ac3dcabef71d /lisp/finder.el | |
parent | 5b03849102819e147ba6458bd7eb2bd5abc7e60d (diff) | |
download | emacs-0aa0410372dc9dbd251fec0ec71a28e88b9697ec.tar.gz |
Fix "Finder" description for multi-file packages
* lisp/finder.el (finder-compile-keywords): Now that 'version' is
set for more files, it is no longer necessary to check that we have
a version when picking the file from which to take the description.
Doing so caused built-in packages (where the version is known) to have
their package description taken from the last .el file that matched the
file name pattern, usually the last source file in the sub-directory.
This bug was introduced in July 2019 and first released in Emacs 27.1.
Thanks to Michael Albinus for reviewing this patch.
Diffstat (limited to 'lisp/finder.el')
-rw-r--r-- | lisp/finder.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/finder.el b/lisp/finder.el index d79b9c99f66..b8db62865de 100644 --- a/lisp/finder.el +++ b/lisp/finder.el @@ -253,7 +253,7 @@ from; the default is `load-path'." ;; The idea here is that eg calc.el gets to define ;; the description of the calc package. ;; This does not work for eg nxml-mode.el. - ((or (eq base-name package) version) + ((eq base-name package) (setq desc (cdr entry)) (aset desc 0 version) (aset desc 2 summary))) |