emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 9899f74 2/2: Merge branch 'emacs-27' of git.savannah.gnu.org:/s


From: Eli Zaretskii
Subject: emacs-27 9899f74 2/2: Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27
Date: Sat, 7 Nov 2020 03:57:53 -0500 (EST)

branch: emacs-27
commit 9899f74e4e1f45064a3235db153739ab769a3e45
Merge: a6fcba7 f4acd7a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27
---
 lisp/window.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lisp/window.el b/lisp/window.el
index 48005fc..ba56ded 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]