diff options
| -rw-r--r-- | lisp/window.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el index 6010f894791..c26b79af485 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -280,7 +280,7 @@ or if the window is the only window of its frame." | |||
| 280 | (window-height (window-height))) | 280 | (window-height (window-height))) |
| 281 | ;; Don't try to redisplay with the cursor at the end | 281 | ;; Don't try to redisplay with the cursor at the end |
| 282 | ;; on its own line--that would force a scroll and spoil things. | 282 | ;; on its own line--that would force a scroll and spoil things. |
| 283 | (when (and (eobp) (bolp)) | 283 | (when (and (eobp) (bolp) (not (bobp))) |
| 284 | (forward-char -1)) | 284 | (forward-char -1)) |
| 285 | (when (> window-height (1+ text-height)) | 285 | (when (> window-height (1+ text-height)) |
| 286 | (shrink-window | 286 | (shrink-window |