diff options
| author | Glenn Morris | 2014-11-03 16:49:37 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-11-03 16:49:37 -0500 |
| commit | 41e962982dfe424c69ed99f0bd26a6e4eb67107f (patch) | |
| tree | d7cda64bfecc7b9403459fda89b7f39a9fd8732f /src/window.c | |
| parent | 303fd9411f21d19604306ecdbd89941bf4923201 (diff) | |
| parent | bd673cc594764572cd49bd0f10a0432006368489 (diff) | |
| download | emacs-41e962982dfe424c69ed99f0bd26a6e4eb67107f.tar.gz emacs-41e962982dfe424c69ed99f0bd26a6e4eb67107f.zip | |
Merge from emacs-24; up to 2014-08-07T11:49:36Z!rrt@sc3d.org
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 0b0f2140a58..2c9292d5b02 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -4930,8 +4930,8 @@ window_scroll_pixel_based (Lisp_Object window, int n, bool whole, int noerror) | |||
| 4930 | /* The function move_iterator_vertically may move over more than | 4930 | /* The function move_iterator_vertically may move over more than |
| 4931 | the specified y-distance. If it->w is small, e.g. a | 4931 | the specified y-distance. If it->w is small, e.g. a |
| 4932 | mini-buffer window, we may end up in front of the window's | 4932 | mini-buffer window, we may end up in front of the window's |
| 4933 | display area. This is the case when Start displaying at the | 4933 | display area. Start displaying at the start of the line |
| 4934 | start of the line containing PT in this case. */ | 4934 | containing PT in this case. */ |
| 4935 | if (it.current_y <= 0) | 4935 | if (it.current_y <= 0) |
| 4936 | { | 4936 | { |
| 4937 | init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); | 4937 | init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); |