]> git.eshelyaron.com Git - emacs.git/commit
Speed up redisplay of long truncated lines
authorEli Zaretskii <eliz@gnu.org>
Sat, 23 Jul 2022 13:13:32 +0000 (16:13 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 23 Jul 2022 13:13:32 +0000 (16:13 +0300)
commit350e97d78e7803650c6dd2bf46fcfece8e2b4b32
treed3e64c795b73713f411599e4d4fc9c6489890785
parent304e2a3a05feee6578aadfa0228dde734fe850cf
Speed up redisplay of long truncated lines

* src/xdisp.c (forward_to_next_line_start): Fix logic of
interpreting the result of Fnext_single_property_change.
(reseat_at_next_visible_line_start): When ON_NEWLINE_P is zero,
pass NULL to 'forward_to_next_line_start', to avoid costly bidi
iteration when none is needed.  This speeds up redisplay of very
long lines under 'truncate-lines'.
src/xdisp.c