emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 0aa0410: Fix "Finder" description for multi-file packages


From: Stephen Gildea
Subject: emacs-27 0aa0410: Fix "Finder" description for multi-file packages
Date: Wed, 25 Aug 2021 20:40:52 -0400 (EDT)

branch: emacs-27
commit 0aa0410372dc9dbd251fec0ec71a28e88b9697ec
Author: Stephen Gildea <stepheng+emacs@gildea.com>
Commit: Stephen Gildea <stepheng+emacs@gildea.com>

    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.
---
 lisp/finder.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/finder.el b/lisp/finder.el
index d79b9c9..b8db628 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]