]> git.eshelyaron.com Git - emacs.git/commit
Fix 'window-text-pixel-size' for short spans of text
authorEli Zaretskii <eliz@gnu.org>
Thu, 4 Feb 2021 16:00:29 +0000 (18:00 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 4 Feb 2021 16:00:29 +0000 (18:00 +0200)
commit914cb7a1d666a87994e0492635f262396a839d4c
tree67bf620ad217e9faef3ed85c5fd8acac2686c6bc
parente1d54bb638dfb017acb778a45092f97bb0d3427c
Fix 'window-text-pixel-size' for short spans of text

* src/xdisp.c (Fwindow_text_pixel_size): Support the use case
where FROM and TO belong to the same screen line.  Reported by
Yuan Fu <casouri@gmail.com>.
src/xdisp.c