aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBasil L. Contovounesios2019-04-06 02:41:16 +0100
committerBasil L. Contovounesios2019-04-06 14:35:04 +0100
commit7dc0a06959ab5ebda2f2cc4ed31a1b66395e2cf9 (patch)
tree0e57b4d61b6e9c5eae5243b4796c74a8fba1c4b3 /src/buffer.c
parent47aae7cfe17c4a803c703ba237cf1c62d246766d (diff)
downloademacs-7dc0a06959ab5ebda2f2cc4ed31a1b66395e2cf9.tar.gz
emacs-7dc0a06959ab5ebda2f2cc4ed31a1b66395e2cf9.zip
Don't leave inhibit_buffer_hooks uninitialized
* src/buffer.c (Fget_buffer_create): Explicitly initialize inhibit_buffer_hooks. (bug#34847)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index c0f7521c9e1..c5d8ee26291 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -588,6 +588,8 @@ even if it is dead. The return value is never nil. */)
588 && strncmp (SSDATA (name), SSDATA (Vcode_conversion_workbuf_name), 588 && strncmp (SSDATA (name), SSDATA (Vcode_conversion_workbuf_name),
589 SBYTES (Vcode_conversion_workbuf_name)) == 0) 589 SBYTES (Vcode_conversion_workbuf_name)) == 0)
590 b->inhibit_buffer_hooks = true; 590 b->inhibit_buffer_hooks = true;
591 else
592 b->inhibit_buffer_hooks = false;
591 593
592 bset_undo_list (b, SREF (name, 0) != ' ' ? Qnil : Qt); 594 bset_undo_list (b, SREF (name, 0) != ' ' ? Qnil : Qt);
593 595