summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-extra.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-05-13 16:12:10 +0300
committerEli Zaretskii <eliz@gnu.org>2021-05-13 16:12:10 +0300
commit1aaceec93173fd98c25dfe282b2fa2030ccf14f0 (patch)
tree30e40e01d9464f989ce132a6a5a9e6ea4f8399b0 /lisp/emacs-lisp/cl-extra.el
parent1b919004f65f6987c5815e7d65a00b78e19fc7ac (diff)
downloademacs-1aaceec93173fd98c25dfe282b2fa2030ccf14f0.tar.gz
emacs-1aaceec93173fd98c25dfe282b2fa2030ccf14f0.tar.bz2
emacs-1aaceec93173fd98c25dfe282b2fa2030ccf14f0.zip
Fix vertical cursor motion across tall text or small images
'line-move-partial' should in general leave it to the display engine to scroll or recenter the window due to vertical motion of the cursor. The only purpose of this function is to produce vscroll suitable for scrolling across large (relatively to the window's height) images, where moving by display lines is not appropriate. * src/xdisp.c (Fdisplay__line_is_continued_p): New primitive. * lisp/simple.el (line-move-partial): Call 'display--line-is-continued-p' to decide whether to leave it to redisplay to scroll the window as appropriate. (Bug#48170)
Diffstat (limited to 'lisp/emacs-lisp/cl-extra.el')
0 files changed, 0 insertions, 0 deletions