diff src/buffer.c @ 5873:fa8b769ef564

(Fkill_all_local_variables): Run change-major-mode-hook.
author Karl Heuer <kwzh@gnu.org>
date Wed, 09 Feb 1994 23:47:09 +0000
parents 03f8720af7fb
children 7f95b8e1ec44
line wrap: on
line diff
--- a/src/buffer.c	Wed Feb 09 23:31:54 1994 +0000
+++ b/src/buffer.c	Wed Feb 09 23:47:09 1994 +0000
@@ -1193,6 +1193,8 @@
 {
   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