summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-05-02 08:50:09 -0400
committerEli Zaretskii <eliz@gnu.org>2023-05-02 08:50:09 -0400
commitdaf602a5c8ec9e5d94f5e1e412182760a02c2505 (patch)
tree84b0c694f5ed9a911011078e8b0f1df18bc9ca71 /src/dispnew.c
parent4f44c56c867b99bc7b813d8b104b9939479f86f2 (diff)
parent46392c1623bc3f9764b8c7df293a89fcd47ab0ad (diff)
downloademacs-daf602a5c8ec9e5d94f5e1e412182760a02c2505.tar.gz
Merge from origin/emacs-29
46392c1623b Fix vertical-motion when tab-line is displayed in a window 0e52beeacea Update to Org 9.6.5-3-g2993f4 dd21003878d Prevent generating empty autoload files 2bcf11d0efe * lisp/org/org-macs.el (org--inhibit-version-check): Fix ... ca43435816b Fix redisplay of mode line after its format changes from nil 610a7657e0a Fix c-ts-mode--emacs-c-range-query 7f94558b775 Improve documentation of warnings 5a3f0e2c558 ; Doc fix in c-ts-mode.el 21361d05635 Fix FOR_EACH_TAIL fontification (bug#62951) d0df3404fde ; * etc/EGLOT-NEWS: chsharp-le -> csharp-ls c229e83c3ce ; * etc/EGLOT-NEWS (https): Elglot -> Eglot. b4f2f499783 Fix documentation of libxml-parse-* functions 5dd784961d1 ; * src/treesit.c (syms_of_treesit): Fix error messages. ddfa0d8da9a ; Remove some leftover text
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 43306043a0c..fe661579daf 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3748,6 +3748,14 @@ update_window (struct window *w, bool force_p)
}
}
+ /* If the window doesn't display its mode line, make sure the
+ corresponding row of the current glyph matrix is disabled, so
+ that if and when the mode line is displayed again, it will be
+ cleared and completely redrawn. */
+ if (!window_wants_mode_line (w))
+ SET_MATRIX_ROW_ENABLED_P (w->current_matrix,
+ w->current_matrix->nrows - 1, false);
+
/* Was display preempted? */
paused_p = row < end;