Add help-window-select and next-error-recenter

This commit is contained in:
James Cherti
2025-03-12 09:10:17 -04:00
parent 4620ce1b21
commit f352d853ef

View File

@@ -94,6 +94,10 @@
compilation-ask-about-save nil compilation-ask-about-save nil
compilation-scroll-output 'first-error) compilation-scroll-output 'first-error)
;; Recenter to the middle of the window for `compile-goto-error', which is also
;; used by `wgrep' and `embark-export'.
(setq next-error-recenter '(4))
;;; Misc ;;; Misc
(setq whitespace-line-column nil) ; whitespace-mode (setq whitespace-line-column nil) ; whitespace-mode
@@ -414,6 +418,8 @@
;;; Help ;;; Help
(setq help-window-select t) ;; Focus new help windows when opened
;; Enhance `apropos' and related functions to perform more extensive searches ;; Enhance `apropos' and related functions to perform more extensive searches
(setq apropos-do-all t) (setq apropos-do-all t)