mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-10 15:56:18 +00:00
* lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
This commit is contained in:
parent
0c517aa613
commit
ca6edca242
@ -4851,8 +4851,9 @@ frame. The selected window is not changed by this function."
|
||||
(set-window-parameter (window-parent new) 'window-atom t))
|
||||
(set-window-parameter new 'window-atom t)))
|
||||
|
||||
;; Sanitize sizes.
|
||||
(window--sanitize-window-sizes frame horizontal)
|
||||
;; Sanitize sizes unless SIZE was specified.
|
||||
(unless size
|
||||
(window--sanitize-window-sizes frame horizontal))
|
||||
|
||||
(run-window-configuration-change-hook frame)
|
||||
(run-window-scroll-functions new)
|
||||
|
Loading…
Reference in New Issue
Block a user