(Fkill_all_local_variables): Run change-major-mode-hook.
authorKarl Heuer <kwzh@gnu.org>
Wed, 9 Feb 1994 23:47:09 +0000 (23:47 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 9 Feb 1994 23:47:09 +0000 (23:47 +0000)
src/buffer.c

index 9f0d81e..4666969 100644 (file)
@@ -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