diff options
| author | Joakim Verona | 2011-10-27 11:15:25 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-10-27 11:15:25 +0200 |
| commit | b70516db12801e015c538c4e7eb44cb87316afc4 (patch) | |
| tree | b5ed66a971e6f55d0b4628f7a56316b0fa383ddc /lisp/simple.el | |
| parent | 51a9916f39ce1cd562816a5429bc3cf6f407fabc (diff) | |
| parent | 435c1d6793ce358f4d2c77c9e9c1ad81fd754651 (diff) | |
| download | emacs-b70516db12801e015c538c4e7eb44cb87316afc4.tar.gz emacs-b70516db12801e015c538c4e7eb44cb87316afc4.zip | |
upstream
Diffstat (limited to 'lisp/simple.el')
| -rw-r--r-- | lisp/simple.el | 3 |
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." | |||
| 349 | Other major modes are defined by comparison with this one." | 349 | Other 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 | ||