Commit 72fdd473 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

Reset window_end_valid after some window changes (Bug#15957).

* window.c (Fset_window_start, window_resize_apply)
(window_scroll): Reset window_end_valid (Bug#15957).
parent 07178229
2013-11-27 Martin Rudalics <rudalics@gmx.at>
* window.c (Fset_window_start, window_resize_apply)
(window_scroll): Reset window_end_valid (Bug#15957).
2013-11-27 Glenn Morris <rgm@gnu.org>
* Makefile.in (leimdir): Now in lisp source directory.
......
......@@ -1574,6 +1574,8 @@ overriding motion of point in order to display at this exact start. */)
if (NILP (noforce))
w->force_start = 1;
w->update_mode_line = 1;
/* Bug#15957. */
w->window_end_valid = 0;
if (w != XWINDOW (selected_window))
/* Enforce full redisplay. FIXME: make it more selective. */
windows_or_buffers_changed = 26;
......@@ -3615,6 +3617,9 @@ window_resize_apply (struct window *w, bool horflag)
c = NILP (c->next) ? 0 : XWINDOW (c->next);
}
}
else
/* Bug#15957. */
w->window_end_valid = 0;
}
......@@ -4286,6 +4291,8 @@ window_scroll (Lisp_Object window, EMACS_INT n, bool whole, int noerror)
else
window_scroll_line_based (window, n, whole, noerror);
/* Bug#15957. */
XWINDOW (window)->window_end_valid = 0;
immediate_quit = 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment