summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-03-09 07:47:57 +0000
committerAndrea Corallo <akrl@sdf.org>2020-03-09 07:47:57 +0000
commit9838ee7ed870844470703b2648f8b59c0575bd46 (patch)
tree6823a873d4b2c46e752027531fb981bb04ba12b6 /lisp/emacs-lisp
parentdc7ccfaf0fe7580afb59e0ebe5b44123f5c4c586 (diff)
downloademacs-9838ee7ed870844470703b2648f8b59c0575bd46.tar.gz
emacs-9838ee7ed870844470703b2648f8b59c0575bd46.tar.bz2
emacs-9838ee7ed870844470703b2648f8b59c0575bd46.zip
* Fix regexp instroduced by f055f52321
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/find-func.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 21c10029ac4..fa87b255699 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -187,7 +187,7 @@ LIBRARY should be a string (the name of the library)."
(cond
((string-match "\\.el\\(c\\(\\..*\\)?\\)\\'" library)
(setq library (replace-match "" t t library)))
- ((string-match "\\.eln$" library)
+ ((string-match "\\.eln\\'" library)
;; From help-fns.el.
(setq library (expand-file-name (concat (file-name-base library)
".el")