From 83f74748a9d3c2e5de29080ae8e0281bcad8d944 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 27 Feb 2022 00:42:21 +0800 Subject: Make scroll smoothly (emacs) --- .emacs.d/lisp/init-misc.el | 2 ++ 1 file changed, 2 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index 005f2b7..a0e26e2 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -1,6 +1,8 @@ (setq tab-always-indent 'complete completion-cycle-threshold t) +(setq scroll-conservatively most-positive-fixnum) + (when (version<= "26.0.50" emacs-version) (global-display-line-numbers-mode)) (setq vc-follow-symlinks t) -- cgit v1.2.3