changeset 57146:942b8e28d21a

(fundamental-mode): Run `after-change-major-mode-hook'.
author Luc Teirlinck <teirllm@auburn.edu>
date Sun, 19 Sep 2004 00:02:44 +0000
parents 26c822f42ae4
children 049bdfb5d92f
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sat Sep 18 23:57:10 2004 +0000
+++ b/lisp/simple.el	Sun Sep 19 00:02:44 2004 +0000
@@ -282,7 +282,8 @@
   "Major mode not specialized for anything in particular.
 Other major modes are defined by comparison with this one."
   (interactive)
-  (kill-all-local-variables))
+  (kill-all-local-variables)
+  (run-hooks 'after-change-major-mode-hook))
 
 ;; Making and deleting lines.