From: Karl Heuer Date: Wed, 9 Feb 1994 23:47:09 +0000 (+0000) Subject: (Fkill_all_local_variables): Run change-major-mode-hook. X-Git-Tag: emacs-19.34~9978 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7410477aeeb19908f67d629b2b21fe576da4aafa;p=emacs.git (Fkill_all_local_variables): Run change-major-mode-hook. --- diff --git a/src/buffer.c b/src/buffer.c index 9f0d81e7068..46669694863 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1193,6 +1193,8 @@ a non-nil `permanent-local' property are not eliminated by this function.") { register Lisp_Object alist, sym, tem; Lisp_Object oalist; + + call1 (Vrun_hooks, intern ("change-major-mode-hook")); oalist = current_buffer->local_var_alist; /* Make sure no local variables remain set up with this buffer