From: Stefan Monnier Date: Thu, 24 Sep 2020 22:15:39 +0000 (-0400) Subject: * lisp/help-fns.el (help-fns--first-release): Use etc/NEWS as well X-Git-Tag: emacs-28.0.90~5903 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7a69c9204a2b208401b9368a70acad21022c7a3;p=emacs.git * lisp/help-fns.el (help-fns--first-release): Use etc/NEWS as well --- diff --git a/lisp/help-fns.el b/lisp/help-fns.el index a9943ccd7f4..24fb09137c2 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