summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/find-func.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-08-15 00:08:48 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-08-15 00:08:48 +0000
commitb88b46f269db7a93d5d87cdaa37305f45570e6fa (patch)
tree7abb7aeb801b7d6bd5d60a54649306abd0ddab05 /lisp/emacs-lisp/find-func.el
parent7adee48a65a3b328e1113f1aa66e0c50381452ed (diff)
downloademacs-b88b46f269db7a93d5d87cdaa37305f45570e6fa.tar.gz
emacs-b88b46f269db7a93d5d87cdaa37305f45570e6fa.tar.bz2
emacs-b88b46f269db7a93d5d87cdaa37305f45570e6fa.zip
(find-function-search-for-symbol): Use find-file-hook instead of ...-hooks.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
-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
(setq library (substring library 0 (match-beginning 1))))
(let* ((path find-function-source-path)
(compression (or (rassq 'jka-compr-handler file-name-handler-alist)
- (member 'crypt-find-file-hook find-file-hooks)))
+ (member 'crypt-find-file-hook find-file-hook)))
(filename (progn
;; use `file-name-sans-extension' here? (if it gets fixed)
(if (string-match "\\(\\.el\\)\\'" library)