aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f9f919afb1b..bf890fc35a9 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -407,7 +407,7 @@ The search is done in the source for library LIBRARY."
407 (setq library (substring library 0 (match-beginning 1)))) 407 (setq library (substring library 0 (match-beginning 1))))
408 ;; Strip extension from .emacs.el to make sure symbol is searched in 408 ;; Strip extension from .emacs.el to make sure symbol is searched in
409 ;; .emacs too. 409 ;; .emacs too.
410 (when (string-match "\\.emacs\\(.el\\)" library) 410 (when (string-match "\\.emacs\\(.el\\)\\'" library)
411 (setq library (substring library 0 (match-beginning 1)))) 411 (setq library (substring library 0 (match-beginning 1))))
412 (let* ((filename (find-library-name library)) 412 (let* ((filename (find-library-name library))
413 (regexp-symbol (cdr (assq type find-function-regexp-alist)))) 413 (regexp-symbol (cdr (assq type find-function-regexp-alist))))