Fix movement to the left in picture-mode
authorEli Zaretskii <eliz@gnu.org>
Sun, 10 Nov 2024 08:56:40 +0000 (10:56 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 10 Nov 2024 08:56:40 +0000 (10:56 +0200)
commit7dabfe9465c623043e4ea1abe618a6169c155d04
tree89d7040ff718fdc8508e84a202d0a432ee2d087a
parentdbcd9d782c94e34baf9aabdaeaa70efb791d8a25
Fix movement to the left in picture-mode

* lisp/textmodes/picture.el (picture-insert): Measure width by
counting columns on display, not by using 'string-width', because
the latter is inaccurate when TABs are involved.  (Bug#74255)
lisp/textmodes/picture.el