emacs-diffs
[Top][All Lists]
Advanced

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

master e7a69c9: * lisp/help-fns.el (help-fns--first-release): Use etc/NE


From: Stefan Monnier
Subject: master e7a69c9: * lisp/help-fns.el (help-fns--first-release): Use etc/NEWS as well
Date: Thu, 24 Sep 2020 18:15:45 -0400 (EDT)

branch: master
commit e7a69c9204a2b208401b9368a70acad21022c7a3
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/help-fns.el (help-fns--first-release): Use etc/NEWS as well
---
 lisp/help-fns.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index a9943cc..24fb091 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -622,7 +622,7 @@ FILE is the file where FUNCTION was probably defined."
   ;; of the *packages* in which the function is defined.
   (let* ((name (symbol-name symbol))
          (re (concat "\\_<" (regexp-quote name) "\\_>"))
-         (news (directory-files data-directory t "\\`NEWS\\.[1-9]"))
+         (news (directory-files data-directory t "\\`NEWS\\($\\|\\.\\)"))
          (place nil)
          (first nil))
     (with-temp-buffer



reply via email to

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