[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/topspace ce7fc98008 153/181: Internal refactoring
From: |
ELPA Syncer |
Subject: |
[elpa] externals/topspace ce7fc98008 153/181: Internal refactoring |
Date: |
Tue, 23 Aug 2022 12:58:46 -0400 (EDT) |
branch: externals/topspace
commit ce7fc980085dace00b0bba45034c79f2303a750f
Author: Trevor Pogue <poguete@mcmaster.ca>
Commit: Trevor Pogue <poguete@mcmaster.ca>
Internal refactoring
- Rename `topspace-height-to-make-buffer-centered` back to
`topspace--height-to-make-buffer-centered` from when it was accidentally
renamed in commit 15ac6c969a525ebb4d0f4ea15cbe3435104d0391
---
topspace.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/topspace.el b/topspace.el
index 47f1531cb5..6c2162980f 100644
--- a/topspace.el
+++ b/topspace.el
@@ -336,7 +336,7 @@ Return the current line plus the top space height
TOPSPACE-HEIGHT."
(+ (topspace--count-lines (window-start) (point))
(or topspace-height (topspace-height))))
-(defun topspace-height-to-make-buffer-centered ()
+(defun topspace--height-to-make-buffer-centered ()
"Return the necessary top space height to center selected window's buffer."
(let ((buffer-height (topspace--count-lines (window-start) (window-end)))
(result)
@@ -548,7 +548,7 @@ the top space pixel height / `default-line-height'."
(when height (topspace--set-height (topspace--correct-height height)))
(when (and (not height) (topspace--eval-choice
topspace-autocenter-buffers))
(setq height (alist-get (selected-window) topspace--autocenter-heights))
- (unless height (setq height (topspace-height-to-make-buffer-centered)))
+ (unless height (setq height (topspace--height-to-make-buffer-centered)))
(setq height (topspace--correct-height height))
(setf (alist-get window topspace--heights) height))
height))
@@ -562,7 +562,7 @@ Customize `topspace-center-position' to adjust the
centering position.
Customize `topspace-autocenter-buffers' to run this command automatically
after first opening buffers and after window sizes change."
(interactive)
- (let ((center-height (topspace-height-to-make-buffer-centered)))
+ (let ((center-height (topspace--height-to-make-buffer-centered)))
(setf (alist-get (selected-window) topspace--autocenter-heights)
center-height)
(topspace--draw center-height)))
- [elpa] externals/topspace ca7eb6b94a 133/181: Update Changelog, (continued)
- [elpa] externals/topspace ca7eb6b94a 133/181: Update Changelog, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 1bfa4d1b28 135/181: Update Changelog, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace e7df37fd99 139/181: Add section links to readme, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 15ac6c969a 141/181: Internal optimizations and refactoring, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 7741d88dca 140/181: Increase test coverage, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace d3182133f9 144/181: Increase test coverage, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 186ea6091a 148/181: Internal optimizations and refactoring, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace bc35cd92d5 149/181: Update test.yml, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 5c2b095a13 150/181: Update cached coveralls badge, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 50ca92c72d 152/181: Update cached coveralls badge, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace ce7fc98008 153/181: Internal refactoring,
ELPA Syncer <=
- [elpa] externals/topspace 86127bf20f 160/181: Performance optimization, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 543f835124 163/181: Set NEWS version head back to Unreleased, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 6f5d60ea36 166/181: Update NEWS.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace dd7d35b52d 168/181: Fix links in CONTRIBUTING.md, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 6692cd1346 169/181: Performance optimization, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace bb73278f40 170/181: Update description, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace 9dd0ce4d42 172/181: Update description, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace d364f55550 173/181: Update description, ELPA Syncer, 2022/08/23
- [elpa] externals/topspace be86d5ba9b 180/181: Prevent line `1` indicator sometimes displaying too high in `linum-mode` (#22), ELPA Syncer, 2022/08/23
- [elpa] externals/topspace ccc5c23731 176/181: Update description, ELPA Syncer, 2022/08/23