summaryrefslogtreecommitdiff
path: root/lisp/gnus/deuglify.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-08-13 16:59:22 +0300
committerEli Zaretskii <eliz@gnu.org>2022-08-13 16:59:22 +0300
commit94c10c426e305037126cf75cc5cf23c9f8df4664 (patch)
tree25d2ac366fd51f72c9af79ede798a867c0c832ef /lisp/gnus/deuglify.el
parent0ab572d5c991dee4818d364a65e004d20f1f45a1 (diff)
downloademacs-94c10c426e305037126cf75cc5cf23c9f8df4664.tar.gz
emacs-94c10c426e305037126cf75cc5cf23c9f8df4664.tar.bz2
emacs-94c10c426e305037126cf75cc5cf23c9f8df4664.zip
Speed up display of long lines under 'truncate-lines'
* src/xdisp.c (partial_line_height): Return zero for long and truncated lines. (fast_move_it_horizontally): New function. (hscroll_window_tree, display_line): Use 'fast_move_it_horizontally' in preference to 'move_it_in_display_line_to', when dealing with long and truncated lines. (redisplay_internal): Optimize "optimization 3" for long and truncated lines. * src/buffer.c (syms_of_buffer) <large-hscroll-threshold>: New variable. * etc/NEWS: Announce 'large-hscroll-threshold'.
Diffstat (limited to 'lisp/gnus/deuglify.el')
0 files changed, 0 insertions, 0 deletions