mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 20:30:32 -08:00
* src/window.c (set_window_buffer): Flush the base_line_number cache
This commit is contained in:
parent
57024e1e93
commit
a1aa9028f8
1 changed files with 2 additions and 0 deletions
|
|
@ -4151,6 +4151,8 @@ set_window_buffer (Lisp_Object window, Lisp_Object buffer,
|
|||
buffer);
|
||||
w->start_at_line_beg = false;
|
||||
w->force_start = false;
|
||||
/* Flush the base_line cache since it applied to another buffer. */
|
||||
w->base_line_number = 0;
|
||||
}
|
||||
|
||||
wset_redisplay (w);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue