]> git.eshelyaron.com Git - emacs.git/commitdiff
* Fix regexp instroduced by f055f52321
authorAndrea Corallo <akrl@sdf.org>
Mon, 9 Mar 2020 07:47:57 +0000 (07:47 +0000)
committerAndrea Corallo <akrl@sdf.org>
Mon, 9 Mar 2020 07:47:57 +0000 (07:47 +0000)
lisp/emacs-lisp/find-func.el

index 21c10029ac4cbd005f4e08ab4fc9287a41e369d4..fa87b255699e3e221d69bb0e59b69206b02f0f12 100644 (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")