Update comment

This commit is contained in:
James Cherti
2024-07-28 08:20:58 -04:00
parent fa68b2fc20
commit e48866547a

11
init.el
View File

@@ -121,11 +121,12 @@
hscroll-step 1 hscroll-step 1
;; Emacs spends excessive time recentering the screen when the cursor ;; Emacs spends excessive time recentering the screen when the cursor
;; moves more than N lines past the window edges (where N is the value of ;; moves more than N lines past the window edges (where N is the value of
;; `scroll-conservatively'). This can be particularly slow in larger ;; `scroll-conservatively`). This can be particularly slow in larger files
;; files during extensive scrolling. If `scroll-conservatively` is set ;; during extensive scrolling. If `scroll-conservatively` is set above
;; above 100, the window is never automatically recentered. The default ;; 100, the window is never automatically recentered. The default value of
;; value (0) triggers recentering too aggressively, so I've set it to 10 ;; 0 triggers recentering too aggressively. Setting it to 10 reduces
;; to recenter the window only when scrolling significantly off-screen. ;; excessive recentering and only recenters the window when scrolling
;; significantly off-screen.
scroll-conservatively 10 scroll-conservatively 10
scroll-margin 0 scroll-margin 0
scroll-preserve-screen-position t scroll-preserve-screen-position t