From e174f8db476c35f0eaa8b281b2e8618b02595f6c Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sun, 19 Sep 2004 00:02:44 +0000 Subject: [PATCH] (fundamental-mode): Run `after-change-major-mode-hook'. --- lisp/simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.39.2