From: Gerd Moellmann Date: Mon, 24 Jul 2000 18:41:13 +0000 (+0000) Subject: (temp_output_buffer_setup): Don't call1 Vrun_hooks X-Git-Tag: emacs-pretest-21.0.90~2634 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd76094657c5f4e98495f2dded726373cc0509dd;p=emacs.git (temp_output_buffer_setup): Don't call1 Vrun_hooks if that is nil. --- diff --git a/src/print.c b/src/print.c index 2ba860b857c..debd6c67f98 100644 --- a/src/print.c +++ b/src/print.c @@ -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);