]> git.eshelyaron.com Git - emacs.git/commit
Ignore dedicated windows in 'display-buffer-reuse-mode-window'
authorTrevor Murphy <trevor.m.murphy@gmail.com>
Wed, 12 Feb 2025 01:26:55 +0000 (17:26 -0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 20:57:11 +0000 (21:57 +0100)
commit9e2bf138cbe72147b7250082f050d5bddad230e2
treef1609b0665fde698816db346d7daea4118059d19
parent221fdd9be6c1bf4c538dd32f8f81d3d1e387dbb3
Ignore dedicated windows in 'display-buffer-reuse-mode-window'

Ignore the dedicated windows unless the dedicated window is
already displaying the buffer-to-be-displayed.  In that case,
the window may be reused, according to the setting of
'inhibit-same-window'.
* lisp/window.el (display-buffer-reuse-mode-window): Check
'window-dedicated-p' before pushing the candidate window onto
the stack.  (Bug#76216)

(cherry picked from commit b6efedd66a08103e547266279419e646fc659339)
lisp/window.el