Commits

Michele Bini  committed 255d861

scroll-around-window.jl: fix and simplify code

  • Participants
  • Parent commits e5726da

Comments (0)

Files changed (1)

File scroll-around-window.jl

 			  0 1000))))))
 
 (defun scroll-around-window-1 ()
-  (when (viewport-scrolling-p)
-    (delete-timer scroll-around-window--timer)
-    (setq scroll-around-window--timer nil))
-  (if viewport-scrolling--timer
+  (if (viewport-scrolling-p)
       (add-hook 'viewport-scrolling-done scroll-around-window)
     (scroll-around-window)))