diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-06-27 15:36:28 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-07-06 15:07:06 -0400 |
commit | 83234cc1dbbe19450d2fc8cc27509ee4b05c4877 (patch) | |
tree | 2afe3ddad3e57ac39d9bd6f2e74df2238a37c852 /lisp/emacs-lisp/checkdoc.el | |
parent | 48f4c9cbbc1297eeb2299928bd415c891b98d999 (diff) | |
download | emacs-83234cc1dbbe19450d2fc8cc27509ee4b05c4877.tar.gz emacs-83234cc1dbbe19450d2fc8cc27509ee4b05c4877.tar.bz2 emacs-83234cc1dbbe19450d2fc8cc27509ee4b05c4877.zip |
(buf_bytepos_to_charpos): Fix mixup introduced in commit b300052fb4ef
Backport of commit 1b595b4598e7 since it turns out this "minor typo"
had disastrous consequences in pathological cases and explains
some of the problems seen in bug#71644 and bug#63040.
* src/marker.c (buf_bytepos_to_charpos): Don't compare byte-positions
with char-positions.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions