From: Dmitry Antipov Date: Sun, 31 Mar 2013 05:45:54 +0000 (+0400) Subject: * frame.h (struct frame): Drop scroll_bottom_vpos X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~526^2~30 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9275998872e6932aee942f8805ac06220688c009;p=emacs.git * frame.h (struct frame): Drop scroll_bottom_vpos member becaue all real users are dead long ago. (FRAME_SCROLL_BOTTOM_VPOS): Remove. * xdisp.c (redisplay_internal): Adjust user. --- diff --git a/src/ChangeLog b/src/ChangeLog index b9e9cce5cb7..b2b4aa6895c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2013-03-31 Dmitry Antipov + + * frame.h (struct frame): Drop scroll_bottom_vpos + member becaue all real users are dead long ago. + (FRAME_SCROLL_BOTTOM_VPOS): Remove. + * xdisp.c (redisplay_internal): Adjust user. + 2013-03-30 Darren Ho (tiny change) * nsmenu.m (showAtX:Y:for:): setLevel to diff --git a/src/frame.h b/src/frame.h index 32a6954024e..46e18dd8ddb 100644 --- a/src/frame.h +++ b/src/frame.h @@ -427,10 +427,6 @@ struct frame /* Width of bar cursor (if we are using that) for blink-off state. */ int blink_off_cursor_width; - /* Nonnegative if current redisplay should not do scroll computation - for lines beyond a certain vpos. This is the vpos. */ - int scroll_bottom_vpos; - /* Configured width of the scroll bar, in pixels and in characters. config_scroll_bar_cols tracks config_scroll_bar_width if the latter is positive; a zero value in config_scroll_bar_width means @@ -785,7 +781,6 @@ typedef struct frame *FRAME_PTR; #define FRAME_DELETE_COST(f) (f)->delete_line_cost #define FRAME_INSERTN_COST(f) (f)->insert_n_lines_cost #define FRAME_DELETEN_COST(f) (f)->delete_n_lines_cost -#define FRAME_SCROLL_BOTTOM_VPOS(f) (f)->scroll_bottom_vpos #define FRAME_FOCUS_FRAME(f) f->focus_frame /* This frame slot says whether scroll bars are currently enabled for frame F, diff --git a/src/xdisp.c b/src/xdisp.c index 32c8224cf04..a7be5fc275c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12948,8 +12948,6 @@ redisplay_internal (void) unbind_to (count1, Qnil); - FRAME_SCROLL_BOTTOM_VPOS (XFRAME (w->frame)) = -1; - consider_all_windows_p = (update_mode_lines || buffer_shared_and_changed () || cursor_type_changed);