]> git.eshelyaron.com Git - emacs.git/commit
Improve accuracy of cursor motion commands in long lines
authorGregory Heytings <gregory@heytings.org>
Tue, 28 Mar 2023 23:06:56 +0000 (23:06 +0000)
committerGregory Heytings <gregory@heytings.org>
Tue, 28 Mar 2023 23:12:39 +0000 (01:12 +0200)
commitafc2c6c13cb2ebb50a6c31fca5552f9b98b4af95
tree762b7f83fd30c7a60355f8bacf890bf8c1674148
parent7e26a5c774e7c71782d89abe1d4be125d8422a4b
Improve accuracy of cursor motion commands in long lines

* src/xdisp.c (get_nearby_bol_pos): New function.
(get_small_narrowing_begv): Use it.  This makes cursor motion
commands much more accurate in the first 500K characters of each
long line.
src/xdisp.c