From 313e8fb48be6381aac7b42c6c742d6d363cc7d35 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 2 Jun 2025 17:33:47 +0200 Subject: [PATCH] fix(smooth-scroll): advice on wrong function Amend: aa6f3903d57e Fix: #8376 --- modules/ui/smooth-scroll/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/smooth-scroll/config.el b/modules/ui/smooth-scroll/config.el index 2729d9195..1706238d5 100644 --- a/modules/ui/smooth-scroll/config.el +++ b/modules/ui/smooth-scroll/config.el @@ -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)