summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-12-20 22:07:48 +0100
committerAndrea Corallo <akrl@sdf.org>2020-12-20 22:08:42 +0100
commitf244c2190259875d095be8508a959a61339263b8 (patch)
tree4e32bd399f4abe168bf3f18086cd36acfbca3df8 /lisp/help-fns.el
parent72c1a41573a96a39482a001bfeb3230c471a5681 (diff)
parent1a7033f1f3de4ad8c1bfd68b54e6c9d8444a3bcc (diff)
downloademacs-f244c2190259875d095be8508a959a61339263b8.tar.gz
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 0ed834266f9..d4e0a3905ef 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -653,7 +653,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\\($\\|\\.\\)"))
+ (news (directory-files data-directory t "\\`NEWS\\(\\'\\|\\.\\)"))
(place nil)
(first nil))
(with-temp-buffer