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 8888(defun better-scroll--do-by-type (rel-ln )
8989 " Do scroll action by passing all needed params, REL-LN."
9090 (cl-case better-scroll-align-type
91- (' center
91+ (center
9292 (better-scroll--move-to-window-line-top-bottom 'middle )
9393 (when (= (point ) (point-max )) (better-scroll--recenter-top-bottom 'middle )))
94- (' relative (better-scroll--do-relative rel-ln))))
94+ (relative (better-scroll--do-relative rel-ln))))
9595
9696(defun better-scroll--move-boundry (dc fnc )
9797 " Move boundry by direction (DC) and function (FNC)."
9898 (let ((prev-pt (point )) (prev-col (current-column )))
9999 (funcall fnc)
100100 (move-to-column prev-col)
101101 (when (and better-scroll-allow-boundary-movement (= (point ) prev-pt))
102- (goto-char (cl-case dc (' down (point-min )) (' up (point-max )))))))
102+ (goto-char (cl-case dc (down (point-min )) (up (point-max )))))))
103103
104104;;;### autoload
105105(defun better-scroll-down ()
You can’t perform that action at this time.
0 commit comments