aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 79de6aea3dd..90d22c817b0 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -349,7 +349,8 @@ location."
349Other major modes are defined by comparison with this one." 349Other major modes are defined by comparison with this one."
350 (interactive) 350 (interactive)
351 (kill-all-local-variables) 351 (kill-all-local-variables)
352 (run-mode-hooks 'fundamental-mode-hook)) 352 (unless delay-mode-hooks
353 (run-hooks 'after-change-major-mode-hook)))
353 354
354;; Special major modes to view specially formatted data rather than files. 355;; Special major modes to view specially formatted data rather than files.
355 356