[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116622: Fix size calculation in window--max-delta-1
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] trunk r116622: Fix size calculation in window--max-delta-1. |
Date: |
Sat, 01 Mar 2014 11:11:23 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116622
revision-id: address@hidden
parent: address@hidden
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Sat 2014-03-01 12:11:13 +0100
message:
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.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/window.el window.el-20091113204419-o5vbwnq5f7feedwu-94
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-03-01 02:48:54 +0000
+++ b/lisp/ChangeLog 2014-03-01 11:11:13 +0000
@@ -1,3 +1,8 @@
+2014-03-01 Martin Rudalics <address@hidden>
+
+ * 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 <address@hidden>
* isearch.el (search-invisible): Doc fix.
=== modified file 'lisp/window.el'
--- a/lisp/window.el 2014-02-28 09:10:55 +0000
+++ b/lisp/window.el 2014-03-01 11:11:13 +0000
@@ -1470,7 +1470,7 @@
(setq delta
(+ delta
(max
- (- (window-size sub horizontal pixelwise 'ceiling)
+ (- (window-size sub horizontal pixelwise 'floor)
(window-min-size
sub horizontal ignore pixelwise))
0)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116622: Fix size calculation in window--max-delta-1.,
Martin Rudalics <=