From 51f2df46f6a1ab8bcb7697da2f0274e9550213d4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 24 Oct 2015 11:23:10 +0300 Subject: [PATCH] ; * src/xdisp.c: Improve commentary for 'update_mode_lines'. --- src/xdisp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 02388da994b..247aa28c6a7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -473,6 +473,10 @@ int windows_or_buffers_changed; For any other value, redisplay all mode lines (the number used is then only used to track down the cause for this full-redisplay). + Since the frame title uses the same %-constructs as the mode line + (except %c and %l), if this variable is non-zero, we also consider + redisplaying the title of each frame, see x_consider_frame_title. + The `redisplay' bits are the same as those used for windows_or_buffers_changed, and setting windows_or_buffers_changed also causes recomputation of the mode lines of all those windows. IOW this -- 2.39.5