]> git.eshelyaron.com Git - emacs.git/commit
Three final fixes to last changes
authorGregory Heytings <gregory@heytings.org>
Sat, 1 Apr 2023 21:13:08 +0000 (21:13 +0000)
committerGregory Heytings <gregory@heytings.org>
Sat, 1 Apr 2023 21:42:23 +0000 (23:42 +0200)
commit0cc8d6826ad2717a3fd21240d0c97232536cab93
treeaabf0e70037e6c6c6c62cca0e5ab9905d62818db
parent097c5ee8f55580ef2f7e68a5bf91a3ccf07dbeb3
Three final fixes to last changes

* src/xdisp.c (get_nearby_bol_pos): Initialize 'bol' to BEGV - 1
instead of 0 (which fixes cursor motion commands in the presence
of a narrowing), adapt the return condition accordingly, and do
not restart the loop when BEGV has been reached.
(get_small_narrowing_begv): Use correct type.
src/xdisp.c