]> git.eshelyaron.com Git - emacs.git/commit
Teach 'current-column' to account for images
authorEli Zaretskii <eliz@gnu.org>
Sat, 5 Apr 2025 10:24:22 +0000 (13:24 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 05:43:38 +0000 (07:43 +0200)
commitae031afcdb255d703b601f52dd44e3fa5f48e73f
treeedc76c1108103388c3e6e9a94ee2adba413e21bc
parentc2979851e60127c7e02a4beb1d3d8e442b84ca70
Teach 'current-column' to account for images

* src/indent.c (check_display_width): Handle 'image' and 'slice'
display specs, instead of using the width of the underlying text.
Accept 2 additional arguments: WINDOW and SCAN_BYTE.  (Bug#76107)

(cherry picked from commit 52e7a71e3f90fede27864e366977e23bfc193891)
src/indent.c