]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/window.el (window-state-put): Fix a typo (bug#79013).
authorEli Zaretskii <eliz@gnu.org>
Mon, 14 Jul 2025 11:35:31 +0000 (14:35 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 08:50:45 +0000 (10:50 +0200)
(cherry picked from commit 756e7e524395cc3cdf5a0945c58af402e5054cfb)

lisp/window.el

index 61626f5a3e7a7230317818709dc5a91a60dda53a..304ec058aa3628eba35215b71fb73c91a2d024b1 100644 (file)
@@ -6751,7 +6751,7 @@ was killed since STATE was made, it will consult the variable
                           (if pixelwise 'min-pixel-height 'min-height)
                           head)))
         (min-width (cdr (assq
-                         (if pixelwise 'min-pixel-width 'min-weight)
+                         (if pixelwise 'min-pixel-width 'min-width)
                          head)))
         ;; Bind the following two variables.  `window--state-put-1' has
         ;; to fully control them (see Bug#50867 and Bug#64405).