diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-08 08:42:40 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-08 08:42:40 +0400 |
commit | 628fdc567a63c5cc6959ca5a4e09eb9b1d3e6092 (patch) | |
tree | 607fa20231b352548121bc23f852936885211cd7 /src/minibuf.c | |
parent | bd0c3c0b12b33988cf649f09d861b359387726cb (diff) | |
download | emacs-628fdc567a63c5cc6959ca5a4e09eb9b1d3e6092.tar.gz |
Do not reset window modification event counters excessively.
These leftovers and poor man's tricky methods to catch extra
redisplay's attention are no longer needed.
* frame.c (set_menu_bar_lines_1):
* minibuf.c (read_minibuf_unwind):
* window.c (Fset_window_start, set_window_buffer, window_resize_apply)
(grow_mini_window, shrink_mini_window, window_scroll_pixel_based)
(window_scroll_line_based, Fset_window_configuration):
* xdisp.c (redisplay_window): Do not reset last_modified and
last_overlay_modified counters.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index b3648b8c1ae..7403fc6c32d 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -870,10 +870,8 @@ read_minibuf_unwind (void) if (minibuf_level == 0) resize_mini_window (XWINDOW (window), 0); - /* Make sure minibuffer window is erased, not ignored. */ + /* Enforce full redisplay. FIXME: make it more selective. */ windows_or_buffers_changed++; - XWINDOW (window)->last_modified = 0; - XWINDOW (window)->last_overlay_modified = 0; /* In case the previous minibuffer displayed in this miniwindow is dead, we may keep displaying this buffer (tho it's inactive), so reset it, |