aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2002-08-15 00:08:48 +0000
committerStefan Monnier2002-08-15 00:08:48 +0000
commitb88b46f269db7a93d5d87cdaa37305f45570e6fa (patch)
tree7abb7aeb801b7d6bd5d60a54649306abd0ddab05 /lisp
parent7adee48a65a3b328e1113f1aa66e0c50381452ed (diff)
downloademacs-b88b46f269db7a93d5d87cdaa37305f45570e6fa.tar.gz
emacs-b88b46f269db7a93d5d87cdaa37305f45570e6fa.zip
(find-function-search-for-symbol): Use find-file-hook instead of ...-hooks.
Diffstat (limited to '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 1ced2eae808..e305fac2116 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -127,7 +127,7 @@ If VARIABLE-P is nil, `find-function-regexp' is used, otherwise
127 (setq library (substring library 0 (match-beginning 1)))) 127 (setq library (substring library 0 (match-beginning 1))))
128 (let* ((path find-function-source-path) 128 (let* ((path find-function-source-path)
129 (compression (or (rassq 'jka-compr-handler file-name-handler-alist) 129 (compression (or (rassq 'jka-compr-handler file-name-handler-alist)
130 (member 'crypt-find-file-hook find-file-hooks))) 130 (member 'crypt-find-file-hook find-file-hook)))
131 (filename (progn 131 (filename (progn
132 ;; use `file-name-sans-extension' here? (if it gets fixed) 132 ;; use `file-name-sans-extension' here? (if it gets fixed)
133 (if (string-match "\\(\\.el\\)\\'" library) 133 (if (string-match "\\(\\.el\\)\\'" library)