diff options
| author | Eli Zaretskii | 2019-03-30 14:27:11 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-03-30 14:27:11 +0300 |
| commit | dd7d83e1dbe5c308384f92689d6eb27c9cde1c20 (patch) | |
| tree | 652268ce5b9bf62f626a7990754ef39826d4bcc8 /src/buffer.c | |
| parent | f2c14b2f01da00afdfb6c9c3e0a73d53e6e3fa62 (diff) | |
| download | emacs-dd7d83e1dbe5c308384f92689d6eb27c9cde1c20.tar.gz emacs-dd7d83e1dbe5c308384f92689d6eb27c9cde1c20.zip | |
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. */) | |||
| 1713 | /* First run the query functions; if any query is answered no, | 1713 | /* First run the query functions; if any query is answered no, |
| 1714 | don't kill the buffer. */ | 1714 | don't kill the buffer. */ |
| 1715 | if (!b->inhibit_buffer_hooks) | 1715 | if (!b->inhibit_buffer_hooks) |
| 1716 | tem = CALLN (Frun_hook_with_args_until_failure, | 1716 | { |
| 1717 | Qkill_buffer_query_functions); | 1717 | tem = CALLN (Frun_hook_with_args_until_failure, |
| 1718 | if (NILP (tem)) | 1718 | Qkill_buffer_query_functions); |
| 1719 | return unbind_to (count, Qnil); | 1719 | if (NILP (tem)) |
| 1720 | return unbind_to (count, Qnil); | ||
| 1721 | } | ||
| 1720 | 1722 | ||
| 1721 | /* Query if the buffer is still modified. */ | 1723 | /* Query if the buffer is still modified. */ |
| 1722 | if (INTERACTIVE && !NILP (BVAR (b, filename)) | 1724 | if (INTERACTIVE && !NILP (BVAR (b, filename)) |