From: Eli Zaretskii Date: Sat, 24 Oct 2015 08:23:10 +0000 (+0300) Subject: ; * src/xdisp.c: Improve commentary for 'update_mode_lines'. X-Git-Tag: emacs-25.0.90~1043 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51f2df46f6a1ab8bcb7697da2f0274e9550213d4;p=emacs.git ; * src/xdisp.c: Improve commentary for 'update_mode_lines'. --- 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