Avoid signaling errors from 'pixel-fill-region'
authorEli Zaretskii <eliz@gnu.org>
Sat, 3 Feb 2024 09:09:36 +0000 (11:09 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 3 Feb 2024 09:09:36 +0000 (11:09 +0200)
commitd49124fc14b0bb37617b34b5839f873cea3817c8
tree80d75043ac3238dd8b2d73eb53c0972eee0d3b65
parenta3987127618b9fe49b88807f0268ec9abcc7396f
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)
lisp/textmodes/pixel-fill.el