mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(smooth-scroll): advice on wrong function
Amend: aa6f3903d5
Fix: #8376
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
;; Cue the errors.
|
||||
;; REVIEW: This shold be fixed upstream.
|
||||
(defadvice! +smooth-scroll--fix-out-of-bounds-error-a ()
|
||||
:override #'good-scroll--point-at-top-fix-a
|
||||
:override #'good-scroll--point-at-top-p
|
||||
(save-restriction
|
||||
(widen)
|
||||
(<= (line-number-at-pos (max (point) (point-min)) t)
|
||||
|
Reference in New Issue
Block a user