Commit b923819c authored by Martin Rudalics's avatar Martin Rudalics
Browse files

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.
parent 209fcf3d
2014-03-02 Martin Rudalics <rudalics@gmx.at>
* window.el (fit-window-to-buffer): Fix argument in window-size
call when window is horizontally combined.
2014-03-02 Juanma Barranquero <lekktu@gmail.com>
* icomplete.el (icomplete-completions): Use string-width.
......
......@@ -7237,7 +7237,7 @@ accessible position."
((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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment