Commit 04b577b6 authored by Martin Rudalics's avatar Martin Rudalics

Fix size calculation in window--max-delta-1.

* window.el (window--max-delta-1): Round down when calculating
how many lines/columns we can get from a window.
parent 84fc911d
2014-03-01 Martin Rudalics <rudalics@gmx.at>
* window.el (window--max-delta-1): Round down when calculating
how many lines/columns we can get from a window.
2014-03-01 Glenn Morris <rgm@gnu.org>
* isearch.el (search-invisible): Doc fix.
......
......@@ -1470,7 +1470,7 @@ by which WINDOW can be shrunk."
(setq delta
(+ delta
(max
(- (window-size sub horizontal pixelwise 'ceiling)
(- (window-size sub horizontal pixelwise 'floor)
(window-min-size
sub horizontal ignore pixelwise))
0)))))
......
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