summaryrefslogtreecommitdiff
path: root/src/editfns.c
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2023-04-01 21:13:08 +0000
committerGregory Heytings <gregory@heytings.org>2023-04-01 23:42:23 +0200
commit0cc8d6826ad2717a3fd21240d0c97232536cab93 (patch)
treeaabf0e70037e6c6c6c62cca0e5ab9905d62818db /src/editfns.c
parent097c5ee8f55580ef2f7e68a5bf91a3ccf07dbeb3 (diff)
downloademacs-0cc8d6826ad2717a3fd21240d0c97232536cab93.tar.gz
emacs-0cc8d6826ad2717a3fd21240d0c97232536cab93.tar.bz2
emacs-0cc8d6826ad2717a3fd21240d0c97232536cab93.zip
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.
Diffstat (limited to 'src/editfns.c')
0 files changed, 0 insertions, 0 deletions