projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47aae7c
)
Don't leave inhibit_buffer_hooks uninitialized
author
Basil L. Contovounesios
<contovob@tcd.ie>
Sat, 6 Apr 2019 01:41:16 +0000
(
02:41
+0100)
committer
Basil L. Contovounesios
<contovob@tcd.ie>
Sat, 6 Apr 2019 13:35:04 +0000
(14:35 +0100)
* src/buffer.c (Fget_buffer_create): Explicitly initialize
inhibit_buffer_hooks. (bug#34847)
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index c0f7521c9e15b9807a10da2b0cba85b71925ec68..c5d8ee2629109a3c427f1f30d36e0650e1dc4387 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-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);