]> git.eshelyaron.com Git - emacs.git/commit
Remove unreliable assertion in buf_bytepos_to_charpos
authorEli Zaretskii <eliz@gnu.org>
Tue, 5 Mar 2019 16:25:23 +0000 (18:25 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 5 Mar 2019 16:25:23 +0000 (18:25 +0200)
commit1c349c62305d432abf0fa2b6e3f5d754fe4cab79
treedf72ec2f9359c00720e59065cbd408690d832008
parentc5c2acd1c605243da7f8b9c4cd41ebdb0e9a7a38
Remove unreliable assertion in buf_bytepos_to_charpos

* src/marker.c (buf_bytepos_to_charpos): Remove the assertion
regarding bytepos always at the head byte of a multibyte
sequence.  For the reasons, see
http://lists.gnu.org/archive/html/emacs-devel/2019-03/msg00100.html
http://lists.gnu.org/archive/html/emacs-devel/2019-03/msg00102.html
src/marker.c