1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00

Use find-file-hook instead of obsolete name find-file-hooks.

This commit is contained in:
Chong Yidong 2009-09-21 18:24:56 +00:00
parent 5bebb33249
commit 546321e293

View file

@ -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