1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 02:20:21 -08:00

* Fix regexp instroduced by f055f52321

This commit is contained in:
Andrea Corallo 2020-03-09 07:47:57 +00:00
parent dc7ccfaf0f
commit 9838ee7ed8

View file

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