]> git.eshelyaron.com Git - emacs.git/commit
Avoid signaling errors from 'pixel-fill-region'
authorEli Zaretskii <eliz@gnu.org>
Sat, 3 Feb 2024 09:09:36 +0000 (11:09 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:04:52 +0000 (12:04 +0100)
commitfcfb1d8cbd27915c65de591deca39b26bbebb82e
tree2e087b3580526734fc8067883dcd7637699cdb17
parent9bb33349e7444ba48b2fb8049aa8732a36c0e4cf
Avoid signaling errors from 'pixel-fill-region'

* lisp/textmodes/pixel-fill.el (pixel-fill-region): Make sure the
selected window displays the current buffer.  This is important
when this function is called inside 'with-current-buffer' or
similar forms which temporarily change the buffer displayed in the
selected window.  (Bug#67791)

(cherry picked from commit d49124fc14b0bb37617b34b5839f873cea3817c8)
lisp/textmodes/pixel-fill.el