summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/syntax-tests.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-10-11 13:26:01 +0300
committerEli Zaretskii <eliz@gnu.org>2022-10-11 13:26:01 +0300
commit4f114c0d95caa0e26de3d188cebe9e3cbcb2dee8 (patch)
treebdc3a6ff63499502012a0957dd2f1bedd0f79405 /test/lisp/emacs-lisp/syntax-tests.el
parent163000fb5980a0a098d1c4620b88a4717702d779 (diff)
downloademacs-4f114c0d95caa0e26de3d188cebe9e3cbcb2dee8.tar.gz
emacs-4f114c0d95caa0e26de3d188cebe9e3cbcb2dee8.tar.bz2
emacs-4f114c0d95caa0e26de3d188cebe9e3cbcb2dee8.zip
Speed up scrolling when lines are very long and truncated
* src/window.c (window_scroll_for_long_lines): New function. (window_scroll): Call 'window_scroll_for_long_lines' when lines are very long and truncated on display. Also, disable 'fontification-functions' during scrolling in that case. * src/xdisp.c (redisplay_window): When recentering the window's display, go back to the centering position using a simplified method, if lines in the buffer are very long and truncated on display.
Diffstat (limited to 'test/lisp/emacs-lisp/syntax-tests.el')
0 files changed, 0 insertions, 0 deletions