]> code.delx.au - gnu-emacs/commitdiff
(fundamental-mode): Run `after-change-major-mode-hook'.
authorLuc Teirlinck <teirllm@auburn.edu>
Sun, 19 Sep 2004 00:02:44 +0000 (00:02 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Sun, 19 Sep 2004 00:02:44 +0000 (00:02 +0000)
lisp/simple.el

index e7498d67789f91c0851956b729414e0bef345aaf..47e275001d9d641d8956a9a3f0f8f30e8df11309 100644 (file)
@@ -282,7 +282,8 @@ location."
   "Major mode not specialized for anything in particular.
 Other major modes are defined by comparison with this one."
   (interactive)
   "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.
 
 
 ;; Making and deleting lines.