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)
This commit is contained in:
parent
ba24d35a3e
commit
6a6972597a
1 changed files with 5 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue