aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 58c0c33cbb0..2d6f0e48faa 100644
--- a/src/window.c
+++ b/src/window.c
@@ -492,7 +492,7 @@ select_window (Lisp_Object window, Lisp_Object norecord,
492 record_buffer before returning here. */ 492 record_buffer before returning here. */
493 goto record_and_return; 493 goto record_and_return;
494 494
495 if (NILP (norecord)) 495 if (NILP (norecord) || EQ (norecord, Qmark_for_redisplay))
496 { /* Mark the window for redisplay since the selected-window has 496 { /* Mark the window for redisplay since the selected-window has
497 a different mode-line. */ 497 a different mode-line. */
498 wset_redisplay (XWINDOW (selected_window)); 498 wset_redisplay (XWINDOW (selected_window));
@@ -571,7 +571,8 @@ Return WINDOW.
571 571
572Optional second arg NORECORD non-nil means do not put this buffer at the 572Optional second arg NORECORD non-nil means do not put this buffer at the
573front of the buffer list and do not make this window the most recently 573front of the buffer list and do not make this window the most recently
574selected one. 574selected one. Also, do not mark WINDOW for redisplay unless NORECORD
575equals the special symbol `mark-for-redisplay'.
575 576
576Run `buffer-list-update-hook' unless NORECORD is non-nil. Note that 577Run `buffer-list-update-hook' unless NORECORD is non-nil. Note that
577applications and internal routines often select a window temporarily for 578applications and internal routines often select a window temporarily for
@@ -7350,6 +7351,7 @@ syms_of_window (void)
7350 DEFSYM (Qclone_of, "clone-of"); 7351 DEFSYM (Qclone_of, "clone-of");
7351 DEFSYM (Qfloor, "floor"); 7352 DEFSYM (Qfloor, "floor");
7352 DEFSYM (Qceiling, "ceiling"); 7353 DEFSYM (Qceiling, "ceiling");
7354 DEFSYM (Qmark_for_redisplay, "mark-for-redisplay");
7353 7355
7354 staticpro (&Vwindow_list); 7356 staticpro (&Vwindow_list);
7355 7357