[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/topspace 4a69b2eb74 027/181: Fix issue when calling rec
From: |
ELPA Syncer |
Subject: |
[elpa] externals/topspace 4a69b2eb74 027/181: Fix issue when calling recenter or recenter-top-bottom interactively |
Date: |
Tue, 23 Aug 2022 12:58:30 -0400 (EDT) |
branch: externals/topspace
commit 4a69b2eb741f8db9d69169a03a6724af0f2ec7ac
Author: Trevor Pogue <poguete@mcmaster.ca>
Commit: Trevor Pogue <poguete@mcmaster.ca>
Fix issue when calling recenter or recenter-top-bottom interactively
---
topspace.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/topspace.el b/topspace.el
index c6dce2e598..48d3a276d8 100644
--- a/topspace.el
+++ b/topspace.el
@@ -173,7 +173,7 @@ LINE-OFFSET and REDISPLAY are used in the same way as in
`recenter'."
redisplay ; remove flycheck warning for unused argument (see above)
(when (= (window-start) 1)
(unless line-offset
- (setq line-offset (round (/ (topspace--window-height) line-offset))))
+ (setq line-offset (round (/ (topspace--window-height) 2))))
(when (< line-offset 0)
(setq line-offset (- (topspace--window-height) line-offset)))
(topspace--put (- line-offset (topspace--count-lines (window-start)
- [elpa] externals/topspace 565b9a4e71 006/181: - added support for wrapped lines or visual-line-mode, (continued)
- [elpa] externals/topspace 565b9a4e71 006/181: - added support for wrapped lines or visual-line-mode, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 770de4987f 009/181: Update README.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace f0dbb7b3ca 015/181: Make `M-x checkdoc` happy with docstrings, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 452e892635 017/181: Make topspace-enable and topspace-disable private functions, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace ece749cd58 018/181: Move topspace-keymap definition to remove warning, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 1049ef1b0e 019/181: Make topspace-enable and topspace-disable private functions, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace e5b65eccf9 010/181: Update and rename vertical-center-mode.el to topspace.el, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 960c5cae34 022/181: Reflect changes to customization variable docstrings, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace c8161ec68e 013/181: Update topspace.el, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 164e4aa1b9 026/181: Make auto-center-buffers update buffer in Emacs 26 when mode is first turned on, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 4a69b2eb74 027/181: Fix issue when calling recenter or recenter-top-bottom interactively,
ELPA Syncer <=
- [elpa] externals/topspace 8a6225639b 030/181: Update to more clear GIF in README, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace f92cefa47c 032/181: Expand upon customization options in README, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 919774a212 033/181: Expand upon customization options in README, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 25841387a5 035/181: Raise topspace-center-position default to an objectively better position, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 532509d6ce 036/181: Make README prettier, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 24f0d8b35a 037/181: Update README header, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 94fe4ccf4c 038/181: Update README header, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 820107a73a 039/181: Update README header, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace a03735ae80 040/181: Add supporters section and emojis to README, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 99237026bc 045/181: Fix link in README, ELPA Syncer, 2022/08/23