emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/topspace d8ba41b20e 020/181: Make topspace-enable and t


From: ELPA Syncer
Subject: [elpa] externals/topspace d8ba41b20e 020/181: Make topspace-enable and topspace-disable private functions
Date: Tue, 23 Aug 2022 12:58:29 -0400 (EDT)

branch: externals/topspace
commit d8ba41b20e6235ab4fd1eb1aa26d947735a89386
Author: Trevor Pogue <poguete@mcmaster.ca>
Commit: Trevor Pogue <poguete@mcmaster.ca>

    Make topspace-enable and topspace-disable private functions
---
 topspace.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/topspace.el b/topspace.el
index fe11328347..00045be10e 100644
--- a/topspace.el
+++ b/topspace.el
@@ -307,8 +307,7 @@ return unexpected value when END is in column 0. This fixes 
that issue."
 
 (defun topspace--post-command ()
   "Gradually reduce top space before the cursor will move past the bottom."
-  (when (and (eq (get-buffer-window (current-buffer)) (selected-window))
-             (= topspace--pre-command-window-start 1)
+  (when (and (= topspace--pre-command-window-start 1)
              (< (- (line-number-at-pos (point))
                    (line-number-at-pos topspace--pre-command-point))
                 (topspace--window-height)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]