File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ and FORMS-STRING contains the evaluated values of FORMS."
161161This is used instead of `assert' when FORM is expensive to compute
162162and shouldn't be run normally."
163163 `(when good-scroll--debug
164- (assert , form )))
164+ (cl- assert , form )))
165165
166166(defun good-scroll--point-at-top-p ()
167167 " Return non-nil if the point is close to the top of the selected window."
@@ -234,8 +234,8 @@ progress. This is called by the timer `good-scroll--timer' every
234234 (fraction-done (/ elapsed-time good-scroll-duration)))
235235 (unless (>= fraction-done 1.0 )
236236 (let ((position-next (funcall good-scroll-algorithm fraction-done)))
237- (assert (<= (abs position-next)
238- (abs good-scroll-destination)))
237+ (cl- assert (<= (abs position-next)
238+ (abs good-scroll-destination)))
239239 (when (good-scroll--cached-point-top-dirty-p)
240240 (setq good-scroll--cached-point-top nil ))
241241 (setq position-next (good-scroll--go-to position-next))
You can’t perform that action at this time.
0 commit comments