changeset 104511:afd748c5780c

Use find-file-hook instead of obsolete name find-file-hooks.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 21 Sep 2009 18:24:56 +0000
parents 8c44231178fc
children aa2a07e5db2f
files lisp/cedet/mode-local.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/mode-local.el	Mon Sep 21 18:20:50 2009 +0000
+++ b/lisp/cedet/mode-local.el	Mon Sep 21 18:24:56 2009 +0000
@@ -131,7 +131,7 @@
   (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