diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-01-03 09:28:35 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-01-03 09:28:35 +0200 |
commit | 37f9182b68c62ee1912cf28d4ea0c30b4f8d59e0 (patch) | |
tree | 34e6b10b93ae5cee0e68ab7bc95acec454621fcb /lisp/emacs-lisp/autoload.el | |
parent | 1420906b812852fab3ee37393db813afdf9e75b7 (diff) | |
download | emacs-37f9182b68c62ee1912cf28d4ea0c30b4f8d59e0.tar.gz emacs-37f9182b68c62ee1912cf28d4ea0c30b4f8d59e0.tar.bz2 emacs-37f9182b68c62ee1912cf28d4ea0c30b4f8d59e0.zip |
Fix redisplay when mode-line-format changes mode-line's height
* lisp/frame.el (top-level): Add mode-line-format,
tab-line-format, and header-line-format to the list of variables
that should trigger an immediate redisplay of the buffer's
window. This fixes redisplay of windows when the mode line
changes its height.
* src/xdisp.c (window_box_height): Use the window's
mode_line_height, tab_line_height, and header_line_height fields
in preference to CURRENT_MODE_LINE_HEIGHT,
CURRENT_TAB_LINE_HEIGHT, and CURRENT_HEADER_LINE_HEIGHT,
respectively. This fixes display of vertical scroll bar when the
height of the window's mode line changes.
* src/dispnew.c (adjust_glyph_matrix): When resizing a window's
matrix, reset the mode_line_p flag of the previous mode-line row,
so that the window_box_height, CURRENT_MODE_LINE_HEIGHT, and their
ilk won't use stale info. (Bug#38828)
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions