We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a1c66 commit dcbe071Copy full SHA for dcbe071
good-scroll.el
@@ -585,7 +585,8 @@ Return the next target scroll position. Assume POS > VSCROLL."
585
(good-scroll--point-top))
586
(set-window-vscroll nil 0 t)
587
;; Are we at the beginning of the buffer?
588
- (if (= (point-min) (window-start))
+ (if (= (line-number-at-pos (point-min))
589
+ (line-number-at-pos (window-start)))
590
;; We are!
591
;; Print a message and terminate.
592
(progn
0 commit comments