From: Luc Teirlinck Date: Sun, 19 Sep 2004 00:02:44 +0000 (+0000) Subject: (fundamental-mode): Run `after-change-major-mode-hook'. X-Git-Tag: ttn-vms-21-2-B4~4881 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e174f8db476c35f0eaa8b281b2e8618b02595f6c;p=emacs.git (fundamental-mode): Run `after-change-major-mode-hook'. --- 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." "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.