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
;; 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
;; `scroll-conservatively'). This can be particularly slow in larger
;; files during extensive scrolling. If `scroll-conservatively` is set
;; above 100, the window is never automatically recentered. The default
;; value (0) triggers recentering too aggressively, so I've set it to 10
;; to recenter the window only when scrolling significantly off-screen.
;; `scroll-conservatively`). This can be particularly slow in larger files
;; during extensive scrolling. If `scroll-conservatively` is set above
;; 100, the window is never automatically recentered. The default value of
;; 0 triggers recentering too aggressively. Setting it to 10 reduces
;; excessive recentering and only recenters the window when scrolling
;; significantly off-screen.
scroll-conservatively 10
scroll-margin 0
scroll-preserve-screen-position t