# HG changeset patch # User Chong Yidong # Date 1253557496 0 # Node ID afd748c5780c2f5f20c33b70ea3f562a5e101a88 # Parent 8c44231178fc61a8161bb65e4da67225d9be84ef Use find-file-hook instead of obsolete name find-file-hooks. diff -r 8c44231178fc -r afd748c5780c lisp/cedet/mode-local.el --- 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