# HG changeset patch # User Luc Teirlinck # Date 1095552164 0 # Node ID 942b8e28d21a46be66fd5b02031dace11058954a # Parent 26c822f42ae40627ae4c0df732b18d3e11424b4d (fundamental-mode): Run `after-change-major-mode-hook'. diff -r 26c822f42ae4 -r 942b8e28d21a lisp/simple.el --- a/lisp/simple.el Sat Sep 18 23:57:10 2004 +0000 +++ b/lisp/simple.el Sun Sep 19 00:02:44 2004 +0000 @@ -282,7 +282,8 @@ "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.