Commit dd7d83e1 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix a thinko in a recent commit

* src/buffer.c (Fkill_buffer): Fix last change.  (Bug#31138)
Reported by Mattias Engdegård <mattiase@acm.org>.
parent f2c14b2f
Pipeline #1113 failed with stage
in 53 minutes and 57 seconds
......@@ -1713,10 +1713,12 @@ cleaning up all windows currently displaying the buffer to be killed. */)
/* First run the query functions; if any query is answered no,
don't kill the buffer. */
if (!b->inhibit_buffer_hooks)
tem = CALLN (Frun_hook_with_args_until_failure,
Qkill_buffer_query_functions);
if (NILP (tem))
return unbind_to (count, Qnil);
{
tem = CALLN (Frun_hook_with_args_until_failure,
Qkill_buffer_query_functions);
if (NILP (tem))
return unbind_to (count, Qnil);
}
/* Query if the buffer is still modified. */
if (INTERACTIVE && !NILP (BVAR (b, filename))
......
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