aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorDmitry Antipov2013-08-08 08:42:40 +0400
committerDmitry Antipov2013-08-08 08:42:40 +0400
commit628fdc567a63c5cc6959ca5a4e09eb9b1d3e6092 (patch)
tree607fa20231b352548121bc23f852936885211cd7 /src/frame.c
parentbd0c3c0b12b33988cf649f09d861b359387726cb (diff)
downloademacs-628fdc567a63c5cc6959ca5a4e09eb9b1d3e6092.tar.gz
emacs-628fdc567a63c5cc6959ca5a4e09eb9b1d3e6092.zip
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/frame.c')
-rw-r--r--src/frame.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 813c97ffe3e..853ec441343 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -185,7 +185,6 @@ set_menu_bar_lines_1 (Lisp_Object window, int n)
185{ 185{
186 struct window *w = XWINDOW (window); 186 struct window *w = XWINDOW (window);
187 187
188 w->last_modified = 0;
189 w->top_line += n; 188 w->top_line += n;
190 w->total_lines -= n; 189 w->total_lines -= n;
191 190