Open twlz0ne opened 2 years ago
The correct window size can be get in the timer:
- ("C-v" (let ((hydra-active-p t)) (scroll-up)))
+ ("C-v" (run-with-timer 0 nil (lambda ()
+ (let ((hydra-active-p t))
+ (scroll-up)))))
That makes scroll-{up,down} unable to reach the top and bottom of the buffer.
Reproduction script: