aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-27 00:42:21 +0800
committerGuangxiong Lin <[email protected]>2022-02-27 00:42:21 +0800
commit83f74748a9d3c2e5de29080ae8e0281bcad8d944 (patch)
tree7d66767d5e5c12f41e332531c5dbb1aa97592036
parenta115996ec9ee4f5dc5578ce8e460741be9d6c345 (diff)
downloaddotfiles-83f74748a9d3c2e5de29080ae8e0281bcad8d944.tar.gz
dotfiles-83f74748a9d3c2e5de29080ae8e0281bcad8d944.tar.bz2
dotfiles-83f74748a9d3c2e5de29080ae8e0281bcad8d944.zip
Make scroll smoothly (emacs)
-rw-r--r--.emacs.d/lisp/init-misc.el2
1 files changed, 2 insertions, 0 deletions
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)