]> git.eshelyaron.com Git - emacs.git/commit
Fix how 'no-other-window' window parameter is ignored (Bug#73706)
authorMartin Rudalics <rudalics@gmx.at>
Fri, 11 Oct 2024 08:39:10 +0000 (10:39 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 14 Oct 2024 17:38:15 +0000 (19:38 +0200)
commit3f32305281348d26d60bc2cc947e734a5a83f63e
tree8d8d287fdbf22bf3ece1fdf0963d45ac15a373c2
parent608cea614b759432f67ffe01918c456489152d15
Fix how 'no-other-window' window parameter is ignored (Bug#73706)

* lisp/window.el (window-no-other-p): New function.
(window-in-direction, get-lru-window, get-mru-window)
(get-largest-window, other-window, window-at-x-y)
(delete-window-choose-selected, delete-window): Use it to check
whether 'ignore-window-parameters' should inhibit processing the
'no-other-window' parameter (Bug#73706).
* lisp/erc/erc-speedbar.el
(erc-speedbar-toggle-nicknames-window-lock): Use
'window-no-other-p'.
* doc/lispref/windows.texi (Windows and Frames)
(Deleting Windows, Cyclic Window Ordering): Describe new
function 'window-no-other-p' and use it in description of
functions that call it.
(Window Parameters): Add cross references for 'no-other-window'
parameter.

(cherry picked from commit 3462b2b9d0ca6a483d5c3200ef71a8ca243225d1)
doc/lispref/windows.texi
lisp/erc/erc-speedbar.el
lisp/window.el