diff options
| author | Eli Zaretskii | 2013-03-31 15:36:07 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-31 15:36:07 +0300 |
| commit | 65d72c1bf862d339d72d760e7ac8ccbc4837f06b (patch) | |
| tree | 3d902ee01eda40ee5975dc42277e2495cef2996c /src | |
| parent | f1aa11971a74b7b2fa0f5baaaaf21dfbd388de6b (diff) | |
| parent | 6ea3f01e74cbae9dc1366a07aea09d9665167981 (diff) | |
| download | emacs-65d72c1bf862d339d72d760e7ac8ccbc4837f06b.tar.gz emacs-65d72c1bf862d339d72d760e7ac8ccbc4837f06b.zip | |
Merge from trunk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/frame.h | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b9e9cce5cb7..b2b4aa6895c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-03-31 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * frame.h (struct frame): Drop scroll_bottom_vpos | ||
| 4 | member becaue all real users are dead long ago. | ||
| 5 | (FRAME_SCROLL_BOTTOM_VPOS): Remove. | ||
| 6 | * xdisp.c (redisplay_internal): Adjust user. | ||
| 7 | |||
| 1 | 2013-03-30 Darren Ho <darren.hoo@gmail.com> (tiny change) | 8 | 2013-03-30 Darren Ho <darren.hoo@gmail.com> (tiny change) |
| 2 | 9 | ||
| 3 | * nsmenu.m (showAtX:Y:for:): setLevel to | 10 | * 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 | |||
| 427 | /* Width of bar cursor (if we are using that) for blink-off state. */ | 427 | /* Width of bar cursor (if we are using that) for blink-off state. */ |
| 428 | int blink_off_cursor_width; | 428 | int blink_off_cursor_width; |
| 429 | 429 | ||
| 430 | /* Nonnegative if current redisplay should not do scroll computation | ||
| 431 | for lines beyond a certain vpos. This is the vpos. */ | ||
| 432 | int scroll_bottom_vpos; | ||
| 433 | |||
| 434 | /* Configured width of the scroll bar, in pixels and in characters. | 430 | /* Configured width of the scroll bar, in pixels and in characters. |
| 435 | config_scroll_bar_cols tracks config_scroll_bar_width if the | 431 | config_scroll_bar_cols tracks config_scroll_bar_width if the |
| 436 | latter is positive; a zero value in config_scroll_bar_width means | 432 | latter is positive; a zero value in config_scroll_bar_width means |
| @@ -785,7 +781,6 @@ typedef struct frame *FRAME_PTR; | |||
| 785 | #define FRAME_DELETE_COST(f) (f)->delete_line_cost | 781 | #define FRAME_DELETE_COST(f) (f)->delete_line_cost |
| 786 | #define FRAME_INSERTN_COST(f) (f)->insert_n_lines_cost | 782 | #define FRAME_INSERTN_COST(f) (f)->insert_n_lines_cost |
| 787 | #define FRAME_DELETEN_COST(f) (f)->delete_n_lines_cost | 783 | #define FRAME_DELETEN_COST(f) (f)->delete_n_lines_cost |
| 788 | #define FRAME_SCROLL_BOTTOM_VPOS(f) (f)->scroll_bottom_vpos | ||
| 789 | #define FRAME_FOCUS_FRAME(f) f->focus_frame | 784 | #define FRAME_FOCUS_FRAME(f) f->focus_frame |
| 790 | 785 | ||
| 791 | /* This frame slot says whether scroll bars are currently enabled for frame F, | 786 | /* 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) | |||
| 12948 | 12948 | ||
| 12949 | unbind_to (count1, Qnil); | 12949 | unbind_to (count1, Qnil); |
| 12950 | 12950 | ||
| 12951 | FRAME_SCROLL_BOTTOM_VPOS (XFRAME (w->frame)) = -1; | ||
| 12952 | |||
| 12953 | consider_all_windows_p = (update_mode_lines | 12951 | consider_all_windows_p = (update_mode_lines |
| 12954 | || buffer_shared_and_changed () | 12952 | || buffer_shared_and_changed () |
| 12955 | || cursor_type_changed); | 12953 | || cursor_type_changed); |