diff options
author | jao <jao@gnu.org> | 2022-07-28 23:28:48 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-07-28 23:28:48 +0100 |
commit | a5e70559266fcc1e3230ad0de23e88d54d7f6083 (patch) | |
tree | 7f0dd686cefba502eaca9956bece89b033196655 | |
parent | 38d3a12d36945bde8293cbfe03c21003139d317c (diff) | |
download | elibs-a5e70559266fcc1e3230ad0de23e88d54d7f6083.tar.gz elibs-a5e70559266fcc1e3230ad0de23e88d54d7f6083.tar.bz2 |
more conservative scrolling in term (to no avail)
-rw-r--r-- | init.el | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -1070,11 +1070,17 @@ ;;;; redisplay escape hatch (setq max-redisplay-ticks 2250000) ;;;; scrolling -(setq scroll-preserve-screen-position 'always - scroll-conservatively most-positive-fixnum - scroll-margin 4 - scroll-step 2 - redisplay-skip-fontification-on-input t) +(if window-system + (setq scroll-preserve-screen-position 'always + scroll-conservatively most-positive-fixnum + scroll-margin 0 + scroll-step 2 + redisplay-skip-fontification-on-input t) + (setq scroll-preserve-screen-position nil + scroll-conservatively 0 + scroll-margin 0 + scroll-step 1 + redisplay-skip-fontification-on-input nil)) ;;; Windows ;;;; splitting and switch @@ -2211,7 +2217,7 @@ (require 'paren) (show-paren-mode t) (setq show-paren-context-when-offscreen t - show-paren-when-point-inside-paren t) + show-paren-when-point-inside-paren nil) (use-package paredit :ensure t |