From: Stefan Monnier Date: Thu, 15 Aug 2002 00:08:48 +0000 (+0000) Subject: (find-function-search-for-symbol): Use find-file-hook instead of ...-hooks. X-Git-Tag: ttn-vms-21-2-B4~13688 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b88b46f269db7a93d5d87cdaa37305f45570e6fa;p=emacs.git (find-function-search-for-symbol): Use find-file-hook instead of ...-hooks. --- 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)