From e7a69c9204a2b208401b9368a70acad21022c7a3 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 24 Sep 2020 18:15:39 -0400 Subject: [PATCH] * 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 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 -- 2.39.5