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

index a5bff86430df3a5c3fbc80914e798a8c699cbf6c..2ad010a62328950b05a9c570adf148c38128448f 100644 (file)
@@ -599,8 +599,7 @@ temp_output_buffer_setup (bufname)
   Ferase_buffer ();
   XSETBUFFER (buf, current_buffer);
 
-  if (!NILP (Vrun_hooks))
-    call1 (Vrun_hooks, Qtemp_buffer_setup_hook);
+  Frun_hooks (1, &Qtemp_buffer_setup_hook);
 
   unbind_to (count, Qnil);