[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scroll-on-jump 0cf26a15bb 26/31: Cleanup: use window-body-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scroll-on-jump 0cf26a15bb 26/31: Cleanup: use window-body-height |
Date: |
Thu, 7 Jul 2022 12:03:15 -0400 (EDT) |
branch: elpa/scroll-on-jump
commit 0cf26a15bb6278c4273ee53f6a8d7d790792fc29
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: use window-body-height
More explicit and whats intended.
---
scroll-on-jump.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scroll-on-jump.el b/scroll-on-jump.el
index 649b7e46e4..d32a83c7d0 100644
--- a/scroll-on-jump.el
+++ b/scroll-on-jump.el
@@ -171,7 +171,7 @@ Moving the point when ALSO-MOVE-POINT is set."
(time-limit
(*
scroll-on-jump-duration
- (min 1.0 (/ (float (abs lines-scroll)) (float (window-height
window))))))
+ (min 1.0 (/ (float (abs lines-scroll)) (float (window-body-height
window))))))
(use-curve scroll-on-jump-use-curve))
;; Animated scrolling (early exit on input to avoid annoying lag).
@@ -251,7 +251,7 @@ Argument ALSO-MOVE-POINT moves the point while scrolling."
(time-limit
(*
scroll-on-jump-duration
- (min 1.0 (/ (float (abs lines-scroll)) (float (window-height
window))))))
+ (min 1.0 (/ (float (abs lines-scroll)) (float (window-body-height
window))))))
(use-curve scroll-on-jump-use-curve)
(char-height (frame-char-height (window-frame window))))
@@ -374,7 +374,7 @@ Moving the point when ALSO-MOVE-POINT is set."
(when (> lines 0)
(let
(
- (height (window-height window))
+ (height (window-body-height window))
(lines-scroll 0)
(dir
(cond
- [nongnu] elpa/scroll-on-jump 5a6f698b6f 23/31: Cleanup: replace 'if' with 'cond', (continued)
- [nongnu] elpa/scroll-on-jump 5a6f698b6f 23/31: Cleanup: replace 'if' with 'cond', ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 1e9e09f0cc 29/31: Fix error counting lines jumping to a point outside buffer range, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump a2d6996a36 24/31: Cleanup: use defgroup, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 7b2919f8d8 27/31: Fix smooth (pixel) scrolling not being used in most cases, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 1f2349edf4 04/31: Fix scrolling down when the point is at the beginning of the buffer, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump e8b79d35d4 09/31: Cleanup: split scroll-on-jump--scroll-impl into it's own function, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 028e672391 03/31: Cleanup: no need for `let*`, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump eb77ab1920 02/31: readme: add a more complete example, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 9c333320ea 05/31: Don't catch and re-raise errors, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 7a51468bdd 14/31: Cleanup: declare variable, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 0cf26a15bb 26/31: Cleanup: use window-body-height,
ELPA Syncer <=
- [nongnu] elpa/scroll-on-jump df8b208ba7 16/31: readme: add melpa link, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump ea74496fa1 10/31: Fix recursive calls to animate scrolling, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 055144ca83 12/31: Disable moving the point when the destination point doesn't move, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-jump 30e23e8694 01/31: Initial commit, ELPA Syncer, 2022/07/07