aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-09-19 00:02:44 +0000
committerLuc Teirlinck2004-09-19 00:02:44 +0000
commite174f8db476c35f0eaa8b281b2e8618b02595f6c (patch)
treea268040a77d8b60f6bd969dc4bb5416638c1c790
parenta869308616fbfe71e5a6ede6cb2be5fcc598dd1d (diff)
downloademacs-e174f8db476c35f0eaa8b281b2e8618b02595f6c.tar.gz
emacs-e174f8db476c35f0eaa8b281b2e8618b02595f6c.zip
(fundamental-mode): Run `after-change-major-mode-hook'.
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index e7498d67789..47e275001d9 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -282,7 +282,8 @@ location."
282 "Major mode not specialized for anything in particular. 282 "Major mode not specialized for anything in particular.
283Other major modes are defined by comparison with this one." 283Other major modes are defined by comparison with this one."
284 (interactive) 284 (interactive)
285 (kill-all-local-variables)) 285 (kill-all-local-variables)
286 (run-hooks 'after-change-major-mode-hook))
286 287
287;; Making and deleting lines. 288;; Making and deleting lines.
288 289