From b88b46f269db7a93d5d87cdaa37305f45570e6fa Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 15 Aug 2002 00:08:48 +0000 Subject: [PATCH] (find-function-search-for-symbol): Use find-file-hook instead of ...-hooks. --- lisp/emacs-lisp/find-func.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2