]> git.eshelyaron.com Git - emacs.git/commit
A better fix for bug#21739
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Oct 2015 07:03:07 +0000 (10:03 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Oct 2015 07:03:07 +0000 (10:03 +0300)
commitbc0b340d5532bc13988b8cc637690764f1d6c6f0
tree8faaab99fe027d4ecb22e961e74b5f744318d611
parent972493658b13265a8d2dd59aa55cad59f05e5d77
A better fix for bug#21739

* src/buffer.c (set_update_modelines_for_buf): New function.
(Fkill_buffer): Use it to set the global variable
update_mode_lines if the killed buffer was displayed in some
window.  Don't set windows_or_buffers_changed.  This is a better
fix for bug#21739 than the previous fix, since it will cause only
redisplay of mode lines, not of entire windows, but will still
catch attention of x_consider_frame_title in xdisp.c, which
redraws the frame title.
src/buffer.c