aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorStefan Monnier2023-07-16 21:12:20 -0400
committerStefan Monnier2023-07-16 21:12:20 -0400
commit207cd4c23570dc1cb1fdb57a70c67a3be5cefe33 (patch)
tree355bfa4a120095dc72f23e82d31b79094f3744b2 /src/window.h
parenta65ece8b2011bd69922262a6fbcf68c2e2c2a717 (diff)
downloademacs-207cd4c23570dc1cb1fdb57a70c67a3be5cefe33.tar.gz
emacs-207cd4c23570dc1cb1fdb57a70c67a3be5cefe33.zip
xdisp.c: Improve doc of `redisplay` flags a bit
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h
index 2f793ebe438..9da6126c321 100644
--- a/src/window.h
+++ b/src/window.h
@@ -1114,9 +1114,11 @@ void set_window_buffer (Lisp_Object window, Lisp_Object buffer,
1114 1114
1115extern Lisp_Object echo_area_window; 1115extern Lisp_Object echo_area_window;
1116 1116
1117/* Non-zero if we should redraw the mode lines on the next redisplay. 1117/* Non-zero if we should redraw the mode line*s* on the next redisplay.
1118 Usually set to a unique small integer so we can track the main causes of 1118 Usually set to a unique small integer so we can track the main causes of
1119 full redisplays in `redisplay--mode-lines-cause'. */ 1119 full redisplays in `redisplay--mode-lines-cause'.
1120 Here "mode lines" includes other elements not coming from the buffer's
1121 text, such as header-lines, tab lines, frame names, menu-bars, .... */
1120 1122
1121extern int update_mode_lines; 1123extern int update_mode_lines;
1122 1124
@@ -1134,6 +1136,11 @@ extern int windows_or_buffers_changed;
1134extern void wset_redisplay (struct window *w); 1136extern void wset_redisplay (struct window *w);
1135extern void fset_redisplay (struct frame *f); 1137extern void fset_redisplay (struct frame *f);
1136extern void bset_redisplay (struct buffer *b); 1138extern void bset_redisplay (struct buffer *b);
1139
1140/* Routines to indicate that the mode-lines might need to be redisplayed.
1141 Just as for `update_mode_lines`, this includes other elements not coming
1142 from the buffer's text, such as header-lines, tab lines, frame names,
1143 menu-bars, .... */
1137extern void bset_update_mode_line (struct buffer *b); 1144extern void bset_update_mode_line (struct buffer *b);
1138extern void wset_update_mode_line (struct window *w); 1145extern void wset_update_mode_line (struct window *w);
1139/* Call this to tell redisplay to look for other windows than selected-window 1146/* Call this to tell redisplay to look for other windows than selected-window