summaryrefslogtreecommitdiff
path: root/lisp/which-func.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/which-func.el')
-rw-r--r--lisp/which-func.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/which-func.el b/lisp/which-func.el
index c594945d89e..aba47b964e4 100644
--- a/lisp/which-func.el
+++ b/lisp/which-func.el
@@ -58,7 +58,7 @@
;; Peter Eisenhauer <pipe@fzi.de>
;; Bug fixing in case nested indexes.
;; Terry Tateyama <ttt@ursa0.cs.utah.edu>
-;; Suggestion to use find-file-hooks for first imenu
+;; Suggestion to use find-file-hook for first imenu
;; index building.
;;; Code:
@@ -131,7 +131,7 @@ This makes a difference only if `which-function-mode' is non-nil.")
(make-variable-buffer-local 'which-func-mode)
;;(put 'which-func-mode 'permanent-local t)
-(add-hook 'find-file-hooks 'which-func-ff-hook t)
+(add-hook 'find-file-hook 'which-func-ff-hook t)
(defun which-func-ff-hook ()
"File find hook for Which Function mode.