Mercurial > emacs
diff lisp/which-func.el @ 46899:f00337f04e78
Use find-file-hook instead of find-file-hooks.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 15 Aug 2002 00:48:20 +0000 |
parents | 9e8cfa1e3b05 |
children | e88404e8f2cf |
line wrap: on
line diff
--- a/lisp/which-func.el Thu Aug 15 00:46:09 2002 +0000 +++ b/lisp/which-func.el Thu Aug 15 00:48:20 2002 +0000 @@ -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 @@ (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.