]> git.eshelyaron.com Git - emacs.git/commit
Speed up Isearch in very long lines under line truncation
authorEli Zaretskii <eliz@gnu.org>
Wed, 27 Jul 2022 17:05:44 +0000 (20:05 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 27 Jul 2022 17:05:44 +0000 (20:05 +0300)
commita25cd7f68aa5babb7cc9002d89ff02077937927b
tree6254aab50116675fb234f66c36a6efb180c2a41d
parentcd41ce8c6c107901a499bf55dd2b0383befd37af
Speed up Isearch in very long lines under line truncation

* src/xdisp.c (strings_with_newlines): New function.
(forward_to_next_line_start): Call 'strings_with_newlines' in
buffers with very long lines, to avoid falling back on slow
iteration.  (Bug#56682)
src/xdisp.c