aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorStefan Monnier2013-11-06 13:41:31 -0500
committerStefan Monnier2013-11-06 13:41:31 -0500
commit2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab (patch)
treec84a7a326b41b7e74e084cee68cb1fcfcf7b9131 /src/window.c
parent6b4ac03ebef0dcd36699c34444ddce7a246c06aa (diff)
downloademacs-2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab.tar.gz
emacs-2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab.zip
* src/xdisp.c (syms_of_xdisp): New vars redisplay--all-windows-cause and
redisplay--mode-lines-cause. (redisplay_internal): Keep them uptodate. Remove redundant check of buffer_shared_and_changed. * *.[chm]: Number every assignment to update_mode_lines so we can track why it is set.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index ac6bac42800..bc0adaf459f 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2639,7 +2639,7 @@ window_loop (enum window_loop type, Lisp_Object obj, int mini, Lisp_Object frame
2639 mark_window_display_accurate (window, 0); 2639 mark_window_display_accurate (window, 0);
2640 w->update_mode_line = 1; 2640 w->update_mode_line = 1;
2641 XBUFFER (obj)->prevent_redisplay_optimizations_p = 1; 2641 XBUFFER (obj)->prevent_redisplay_optimizations_p = 1;
2642 ++update_mode_lines; 2642 update_mode_lines = 27;
2643 best_window = window; 2643 best_window = window;
2644 } 2644 }
2645 break; 2645 break;
@@ -3279,7 +3279,7 @@ displaying that buffer. */)
3279 if (NILP (object)) 3279 if (NILP (object))
3280 { 3280 {
3281 windows_or_buffers_changed = 29; 3281 windows_or_buffers_changed = 29;
3282 update_mode_lines++; 3282 update_mode_lines = 28;
3283 return Qt; 3283 return Qt;
3284 } 3284 }
3285 3285
@@ -3290,7 +3290,7 @@ displaying that buffer. */)
3290 w->update_mode_line = 1; 3290 w->update_mode_line = 1;
3291 if (BUFFERP (w->contents)) 3291 if (BUFFERP (w->contents))
3292 XBUFFER (w->contents)->prevent_redisplay_optimizations_p = 1; 3292 XBUFFER (w->contents)->prevent_redisplay_optimizations_p = 1;
3293 ++update_mode_lines; 3293 update_mode_lines = 29;
3294 return Qt; 3294 return Qt;
3295 } 3295 }
3296 3296