Mercurial > emacs
diff lisp/simple.el @ 111933:5032326a2135 EMACS_PRETEST_23_2_91
Bump version to 23.2.91.
Regenerate configure and ldefs-boot.el.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 10 Dec 2010 12:46:40 -0500 |
parents | f475600c36d9 |
children | 2f24255ca500 |
line wrap: on
line diff
--- a/lisp/simple.el Fri Dec 10 05:14:57 2010 +0100 +++ b/lisp/simple.el Fri Dec 10 12:46:40 2010 -0500 @@ -4115,6 +4115,11 @@ ;; When already vscrolled, we vscroll some more if we can, ;; or clear vscroll and move forward at end of tall image. ((> (setq vs (window-vscroll nil t)) 0) + + ;; If we are vscrolling an image at the top of the screen, + ;; we could actually advance point if this yields space + ;; below.... + (when (> rbot 0) (set-window-vscroll nil (+ vs (min rbot (frame-char-height))) t))) ;; If cursor just entered the bottom scroll margin, move forward,