Don't leave inhibit_buffer_hooks uninitialized

* src/buffer.c (Fget_buffer_create): Explicitly initialize
inhibit_buffer_hooks. (bug#34847)
parent 47aae7cf
Pipeline #1180 failed with stage
in 52 minutes and 3 seconds
......@@ -588,6 +588,8 @@ even if it is dead. The return value is never nil. */)
&& strncmp (SSDATA (name), SSDATA (Vcode_conversion_workbuf_name),
SBYTES (Vcode_conversion_workbuf_name)) == 0)
b->inhibit_buffer_hooks = true;
else
b->inhibit_buffer_hooks = false;
bset_undo_list (b, SREF (name, 0) != ' ' ? Qnil : Qt);
......
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