summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2024-07-02 16:28:08 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2024-07-02 16:28:08 -0400
commit0385c0c0820361b71a74988f23d0445238f30473 (patch)
treea6a36101514918bd74cddc8f4998a4138d0d4ba3 /lisp/emacs-lisp/lisp.el
parent4c3e0c990cb9fa06e54223e7eed48c04d1829b66 (diff)
downloademacs-0385c0c0820361b71a74988f23d0445238f30473.tar.gz
emacs-0385c0c0820361b71a74988f23d0445238f30473.tar.bz2
emacs-0385c0c0820361b71a74988f23d0445238f30473.zip
(buf_*pos_to_*pos): Fix minor off-by one
* src/marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Slightly restructure the markers loop so we check `distance` also before "consider"ing the first marker.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions