* src/buffer.c (Fget_buffer_create): Apply booleans's eta-reduction
This commit is contained in:
parent
7e4d4c069c
commit
43f4c7ddd2
1 changed files with 4 additions and 6 deletions
10
src/buffer.c
10
src/buffer.c
|
@ -584,12 +584,10 @@ even if it is dead. The return value is never nil. */)
|
|||
set_string_intervals (name, NULL);
|
||||
bset_name (b, name);
|
||||
|
||||
if (STRINGP (Vcode_conversion_workbuf_name)
|
||||
&& 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;
|
||||
b->inhibit_buffer_hooks
|
||||
= (STRINGP (Vcode_conversion_workbuf_name)
|
||||
&& strncmp (SSDATA (name), SSDATA (Vcode_conversion_workbuf_name),
|
||||
SBYTES (Vcode_conversion_workbuf_name)) == 0);
|
||||
|
||||
bset_undo_list (b, SREF (name, 0) != ' ' ? Qnil : Qt);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue