Minor cleanups.
authorLuke Hoersten <luke@hoersten.org>
Thu, 02 Oct 2025 10:45:18 -0500
changeset 111 025f0680d73a
parent 110 7a84acce27ec
child 112 c4c346aa93ab
Minor cleanups.
init.el
--- a/init.el	Thu Oct 02 10:40:00 2025 -0500
+++ b/init.el	Thu Oct 02 10:45:18 2025 -0500
@@ -140,7 +140,8 @@
 
 
 ;;; magit
-(magit-todos-mode t)                                      ; show TODOs in magit status
+(with-eval-after-load 'magit-todos
+  (magit-todos-mode t))                                   ; show TODOs in magit status
 
 
 ;;; emacs-lisp-mode
@@ -198,7 +199,8 @@
 
 
 ;;; treesit-auto (automatically use tree-sitter modes and install grammars)
-(global-treesit-auto-mode)
+(with-eval-after-load 'treesit-auto
+  (global-treesit-auto-mode))
 
 
 ;;; html-mode