]> git.eshelyaron.com Git - emacs.git/commitdiff
(temp_output_buffer_setup): Don't call1 Vrun_hooks
authorGerd Moellmann <gerd@gnu.org>
Mon, 24 Jul 2000 18:41:13 +0000 (18:41 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 24 Jul 2000 18:41:13 +0000 (18:41 +0000)
if that is nil.

src/print.c

index 2ba860b857c96b73985ccd9272cd57bf74e6c4f3..debd6c67f98756e0d2601379a22539007944ac2a 100644 (file)
@@ -583,7 +583,8 @@ temp_output_buffer_setup (bufname)
   Ferase_buffer ();
   XSETBUFFER (buf, current_buffer);
 
-  call1 (Vrun_hooks, Qtemp_buffer_setup_hook);
+  if (!NILP (Vrun_hooks))
+    call1 (Vrun_hooks, Qtemp_buffer_setup_hook);
 
   unbind_to (count, Qnil);