[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/topspace c326169190 110/181: Fix inability to use scrol
From: |
ELPA Syncer |
Subject: |
[elpa] externals/topspace c326169190 110/181: Fix inability to use scrolling commands interactively (#11) |
Date: |
Tue, 23 Aug 2022 12:58:39 -0400 (EDT) |
branch: externals/topspace
commit c326169190bac3737a33e5110c1a77a7842e38f5
Author: Trevor Pogue <trevorpogue@gmail.com>
Commit: GitHub <noreply@github.com>
Fix inability to use scrolling commands interactively (#11)
---
.gitignore | 1 +
topspace.el | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000..54450dd53a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.~undo-tree~
\ No newline at end of file
diff --git a/topspace.el b/topspace.el
index ba5b272d5c..c8813cd308 100644
--- a/topspace.el
+++ b/topspace.el
@@ -216,9 +216,10 @@ TOTAL-LINES is used in the same way as in `scroll-down'."
(defun topspace--filter-args-scroll-down (&optional total-lines)
"Run before `scroll-down' for scrolling above the top line.
TOTAL-LINES is used in the same way as in `scroll-down'."
+ (setq total-lines (car total-lines))
(cond
((not (topspace--enabled)) total-lines)
- ((setq total-lines (car total-lines))
+ (t
(setq total-lines (or total-lines (- (topspace--window-height)
next-screen-context-lines)))
(setq topspace--total-lines-scrolling total-lines)
@@ -227,9 +228,10 @@ TOTAL-LINES is used in the same way as in `scroll-down'."
(defun topspace--filter-args-scroll-up (&optional total-lines)
"Run before `scroll-up' for scrolling above the top line.
TOTAL-LINES is used in the same way as in `scroll-up'."
+ (setq total-lines (car total-lines))
(cond
((not (topspace--enabled)) total-lines)
- ((setq total-lines (car total-lines))
+ (t
(setq total-lines (* (or total-lines (- (topspace--window-height)
next-screen-context-lines)) -1))
(setq topspace--total-lines-scrolling total-lines)
- [elpa] externals/topspace cbdcdff484 051/181: Fix `recenter-top-bottom` bug, add .md files, (continued)
- [elpa] externals/topspace cbdcdff484 051/181: Fix `recenter-top-bottom` bug, add .md files, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 0d5a7cbc63 055/181: Update README.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace cb918d1c44 057/181: Create PULL_REQUEST_TEMPLATE.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 9e24080d3a 060/181: Update feature_request.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace fda0548e98 061/181: Update bug_report.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace abc4a0f8c1 058/181: Update PULL_REQUEST_TEMPLATE.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 06316cb9d4 073/181: Update link to include noun, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace effbc9191a 050/181: Update README.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 6df160e026 101/181: Update README.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace c749bbfec3 104/181: Update README.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace c326169190 110/181: Fix inability to use scrolling commands interactively (#11),
ELPA Syncer <=
- [elpa] externals/topspace f47c9f920a 076/181: Add `topspace-active`, improve `topspace-autocenter-buffers`, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 096c5c8ef2 082/181: Fix automatic changelog generation action, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace bd01b69790 085/181: Update PULL_REQUEST_TEMPLATE.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace a6469f9e14 086/181: Add user satisfaction survey, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 156dabbe05 070/181: Remove html typo in readme, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 8493ed0687 087/181: Fix bug where topspace-mode doesn't work locally (#6), ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 97c69d912e 088/181: Update Changelog, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 04da9d1b5a 064/181: Create FUNDING.yml, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 0d85f3a0b0 074/181: It works except theres an error on startup, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 42ee241730 065/181: Update FUNDING.yml, ELPA Syncer, 2022/08/23