diff options
| author | Gerd Moellmann | 2001-10-10 11:55:39 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-10 11:55:39 +0000 |
| commit | 919f28126bbc0b115f093bfedfb7e4f8ef30bbbc (patch) | |
| tree | 58084cbd7a2d763c54d9f824caf3012fbcbc1cb5 /lisp/simple.el | |
| parent | ab952a4f345b6fc20037225cb8d7b790c5cde7f6 (diff) | |
| download | emacs-919f28126bbc0b115f093bfedfb7e4f8ef30bbbc.tar.gz emacs-919f28126bbc0b115f093bfedfb7e4f8ef30bbbc.zip | |
(end-of-buffer): Fix code scrolling specially
for the buffer end.
Diffstat (limited to 'lisp/simple.el')
| -rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index bf86112ce55..ea0d3ce27de 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -412,7 +412,7 @@ Don't use this command in Lisp programs! | |||
| 412 | ;; If we went to a place in the middle of the buffer, | 412 | ;; If we went to a place in the middle of the buffer, |
| 413 | ;; adjust it to the beginning of a line. | 413 | ;; adjust it to the beginning of a line. |
| 414 | (cond (arg (forward-line 1)) | 414 | (cond (arg (forward-line 1)) |
| 415 | ((< (point) (window-end nil t)) | 415 | ((> (point) (window-end nil t)) |
| 416 | ;; If the end of the buffer is not already on the screen, | 416 | ;; If the end of the buffer is not already on the screen, |
| 417 | ;; then scroll specially to put it near, but not at, the bottom. | 417 | ;; then scroll specially to put it near, but not at, the bottom. |
| 418 | (overlay-recenter (point)) | 418 | (overlay-recenter (point)) |