1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00

* lisp/help-fns.el (help-fns--first-release): Use etc/NEWS as well

This commit is contained in:
Stefan Monnier 2020-09-24 18:15:39 -04:00
parent 976b8464fb
commit e7a69c9204

View File

@ -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