Skip to content

Commit 60fd0a7

Browse files
committed
Remove broken assertion
This assertion crashes when evaluating (good-scroll--point-top) because pos-visible-in-window-p returns nil. I'm not sure why this happens, but it seems to only trigger when the cursor height is larger than the window height.
1 parent a6ec5d4 commit 60fd0a7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

good-scroll.el

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,6 @@ line."
464464
;; We aren't.
465465
;; Actually scroll one line
466466
(set-window-vscroll nil 0 t)
467-
(good-scroll--log "good-scroll--go-to-up-full mid"
468-
pos
469-
rem
470-
good-scroll--cached-point-top
471-
(good-scroll--point-top))
472467
(set-window-start nil (save-excursion
473468
(goto-char (window-start))
474469
(vertical-motion 1)

0 commit comments

Comments
 (0)