From: Chong Yidong Date: Mon, 21 Sep 2009 18:24:56 +0000 (+0000) Subject: Use find-file-hook instead of obsolete name find-file-hooks. X-Git-Tag: emacs-pretest-23.1.90~1091^2~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=546321e2932d2f71397005bbd68ef06c65bf8b04;p=emacs.git Use find-file-hook instead of obsolete name find-file-hooks. --- diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el index d6668385f33..c528612a63c 100644 --- a/lisp/cedet/mode-local.el +++ b/lisp/cedet/mode-local.el @@ -131,7 +131,7 @@ This makes sure mode local init type stuff can occur." (add-to-list 'mode-local-changed-mode-buffers (current-buffer)) (add-hook 'post-command-hook 'mode-local-post-major-mode-change t nil)) -(add-hook 'find-file-hooks 'mode-local-post-major-mode-change) +(add-hook 'find-file-hook 'mode-local-post-major-mode-change) (add-hook 'change-major-mode-hook 'mode-local-on-major-mode-change) ;;; Mode lineage