Commit 43f4c7dd authored by Stefan Monnier's avatar Stefan Monnier

* src/buffer.c (Fget_buffer_create): Apply booleans's eta-reduction

parent 7e4d4c06
Pipeline #1187 failed with stage
in 52 minutes and 43 seconds
......@@ -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);
......
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