diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-03-30 14:27:11 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-03-30 14:27:11 +0300 |
commit | dd7d83e1dbe5c308384f92689d6eb27c9cde1c20 (patch) | |
tree | 652268ce5b9bf62f626a7990754ef39826d4bcc8 /src/buffer.c | |
parent | f2c14b2f01da00afdfb6c9c3e0a73d53e6e3fa62 (diff) | |
download | emacs-dd7d83e1dbe5c308384f92689d6eb27c9cde1c20.tar.gz |
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>.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8bdc30300ba..7c4691e52c0 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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)) |