Commit fd760946 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(temp_output_buffer_setup): Don't call1 Vrun_hooks

if that is nil.
parent c66c29a2
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment