diff options
| author | jao <jao@gnu.org> | 2026-11-27 22:59:23 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-11-27 22:59:23 +0000 |
| commit | 307f2adf232ab89325549346aadab69ed1702b8d (patch) | |
| tree | 73d3e8ac9127de8afdaad6cb80395152a3b6a3ff | |
| parent | 686833be40318566064909ad337f8747c0e84f95 (diff) | |
| download | elibs-307f2adf232ab89325549346aadab69ed1702b8d.tar.gz elibs-307f2adf232ab89325549346aadab69ed1702b8d.tar.bz2 | |
no ultra scroll
| -rw-r--r-- | attic/elisp/misc.el | 9 | ||||
| -rw-r--r-- | init.el | 13 |
2 files changed, 11 insertions, 11 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el index 14cd56a..fbcf86b 100644 --- a/attic/elisp/misc.el +++ b/attic/elisp/misc.el @@ -59,6 +59,15 @@ :bind (:map racket-xp-mode-map (("C-c C-S-d" . racket-xp-documentation) ("C-c C-d" . racket-xp-describe)))) +;;; ultra-scroll +(jao-when-linux + (use-package ultra-scroll + :ensure t + :init + (setq scroll-conservatively 101 ; or whatever value you prefer, since v0.4 + scroll-margin 0) ; important: scroll-margin>0 not yet supported + :config + (ultra-scroll-mode 1))) ;;; smart scan (use-package smartscan :ensure t @@ -915,24 +915,15 @@ (if window-system (setq scroll-preserve-screen-position 'always scroll-conservatively most-positive-fixnum - scroll-margin 5 + scroll-margin 2 scroll-step 2 redisplay-skip-fontification-on-input t) (setq scroll-preserve-screen-position nil scroll-conservatively 0 - scroll-margin 5 + scroll-margin 2 scroll-step 1 redisplay-skip-fontification-on-input nil)) -(jao-when-linux - (use-package ultra-scroll - :ensure t - :init - (setq scroll-conservatively 101 ; or whatever value you prefer, since v0.4 - scroll-margin 0) ; important: scroll-margin>0 not yet supported - :config - (ultra-scroll-mode 1))) - ;;;; show diffs when running C-x s (add-to-list 'save-some-buffers-action-alist `("d" |
