diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-07-02 16:28:08 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-07-02 16:28:08 -0400 |
commit | 0385c0c0820361b71a74988f23d0445238f30473 (patch) | |
tree | a6a36101514918bd74cddc8f4998a4138d0d4ba3 /lisp/emacs-lisp/lisp.el | |
parent | 4c3e0c990cb9fa06e54223e7eed48c04d1829b66 (diff) | |
download | emacs-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