1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-07 06:41:00 -07:00

; Fix last fix to 'window--make-major-side-window'

* lisp/window.el (window--make-major-side-window): Fix last fix
which was broken by the committer.
This commit is contained in:
Martin Rudalics 2026-03-27 23:35:24 +01:00
parent 57b119b296
commit c8b956dc32

View file

@ -1016,7 +1016,7 @@ and may be called only if no window on SIDE exists yet."
;; placed incorrectly (Bug#80665).
(when-let* ((sibling (or (window-prev-sibling window)
(window-next-sibling window)))
(window-child sibling))
((window-child sibling)))
(set-window-combination-limit sibling t))
;; Initialize `window-side' parameter of new window to SIDE and
;; make that parameter persistent.