emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 6a69725: Fix redisplay of frame title when current


From: Eli Zaretskii
Subject: [Emacs-diffs] master 6a69725: Fix redisplay of frame title when current buffer is killed
Date: Fri, 23 Oct 2015 08:48:30 +0000

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

    Fix redisplay of frame title when current buffer is killed
    
    * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
    non-zero value, to redisplay more than just the affected windows.
    (Bug#21739)
---
 src/buffer.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/buffer.c b/src/buffer.c
index 380a7af..aff80bc 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1747,6 +1747,11 @@ cleaning up all windows currently displaying the buffer 
to be killed. */)
 
   kill_buffer_processes (buffer);
 
+  /* Killing a buffer might have global effects which require
+     redisplaying frames.  For example, if the buffer's name appears
+     in the frame title.  */
+  windows_or_buffers_changed = 11;
+
   /* Killing buffer processes may run sentinels which may have killed
      our buffer.  */
   if (!BUFFER_LIVE_P (b))



reply via email to

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