emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r116631: In fit-window-to-buffer fix argument in win


From: Martin Rudalics
Subject: [Emacs-diffs] trunk r116631: In fit-window-to-buffer fix argument in window-size call.
Date: Sun, 02 Mar 2014 12:04:43 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116631
revision-id: address@hidden
parent: address@hidden
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Sun 2014-03-02 13:04:29 +0100
message:
  In fit-window-to-buffer fix argument in window-size call.
  
  * window.el (fit-window-to-buffer): Fix argument in window-size
  call when window is horizontally combined.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/window.el                 window.el-20091113204419-o5vbwnq5f7feedwu-94
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-03-02 00:50:07 +0000
+++ b/lisp/ChangeLog    2014-03-02 12:04:29 +0000
@@ -1,3 +1,8 @@
+2014-03-02  Martin Rudalics  <address@hidden>
+
+       * window.el (fit-window-to-buffer): Fix argument in window-size
+       call when window is horizontally combined.
+
 2014-03-02  Juanma Barranquero  <address@hidden>
 
        * icomplete.el (icomplete-completions): Use string-width.

=== modified file 'lisp/window.el'
--- a/lisp/window.el    2014-03-01 11:11:13 +0000
+++ b/lisp/window.el    2014-03-02 12:04:29 +0000
@@ -7237,7 +7237,7 @@
         ((and fit-window-to-buffer-horizontally
               (not (window-size-fixed-p window t))
               (window-combined-p nil t))
-         (let* ((total-width (window-size window nil pixelwise))
+         (let* ((total-width (window-size window t pixelwise))
                 (min-width
                  ;; Sanitize MIN-WIDTH.
                  (if (numberp min-width)


reply via email to

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