Don't leave inhibit_buffer_hooks uninitialized
* src/buffer.c (Fget_buffer_create): Explicitly initialize inhibit_buffer_hooks. (bug#34847)
This commit is contained in:
parent
47aae7cfe1
commit
7dc0a06959
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue