diff options
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)) |