mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-21 18:23:59 +00:00
Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27
This commit is contained in:
commit
9899f74e4e
@ -5412,7 +5412,13 @@ 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 unless SIZE was specified.
|
||||
;; Make the new window inherit the `min-margins' parameter of
|
||||
;; WINDOW (Bug#44483).
|
||||
(let ((min-margins (window-parameter window 'min-margins)))
|
||||
(when min-margins
|
||||
(set-window-parameter new 'min-margins min-margins)))
|
||||
|
||||
;; Sanitize sizes unless SIZE was specified.
|
||||
(unless size
|
||||
(window--sanitize-window-sizes horizontal))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user