emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master dd7d83e: Fix a thinko in a recent commit


From: Eli Zaretskii
Subject: [Emacs-diffs] master dd7d83e: Fix a thinko in a recent commit
Date: Sat, 30 Mar 2019 07:28:15 -0400 (EDT)

branch: master
commit dd7d83e1dbe5c308384f92689d6eb27c9cde1c20
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix a thinko in a recent commit
    
    * src/buffer.c (Fkill_buffer): Fix last change.  (Bug#31138)
    Reported by Mattias EngdegÄrd <address@hidden>.
---
 src/buffer.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/buffer.c b/src/buffer.c
index 8bdc303..7c4691e 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]