]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fkill_buffer): Use Frun_hooks, not Vrun_hooks.
authorRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 00:07:17 +0000 (00:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 00:07:17 +0000 (00:07 +0000)
src/buffer.c

index 5eace5b96e36eb120ff8d2ea07c01e8a21707f21..84fdd35a2decad5280df00ec0094e07b725f0a8f 100644 (file)
@@ -1292,8 +1292,7 @@ with SIGHUP.  */)
       }
 
     /* Then run the hooks.  */
-    if (!NILP (Vrun_hooks))
-      call1 (Vrun_hooks, Qkill_buffer_hook);
+    Frun_hooks (1, &Qkill_buffer_hook);
     unbind_to (count, Qnil);
   }