aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 915f591221d..565ad00804f 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4151,6 +4151,8 @@ set_window_buffer (Lisp_Object window, Lisp_Object buffer,
4151 buffer); 4151 buffer);
4152 w->start_at_line_beg = false; 4152 w->start_at_line_beg = false;
4153 w->force_start = false; 4153 w->force_start = false;
4154 /* Flush the base_line cache since it applied to another buffer. */
4155 w->base_line_number = 0;
4154 } 4156 }
4155 4157
4156 wset_redisplay (w); 4158 wset_redisplay (w);