aboutsummaryrefslogtreecommitdiff
path: root/modules/dashboard-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-12 11:32:53 -0500
committerCraig Jennings <c@cjennings.net>2026-06-12 11:32:53 -0500
commit72b7dad1a1a2af8f7aa73c4c95d7843dc825bb59 (patch)
treeffd96dbae274aeecc9c49e4210ef7931f19c48fb /modules/dashboard-config.el
parentc6260735749d29dda254361427c613572a2c6a65 (diff)
downloaddotemacs-72b7dad1a1a2af8f7aa73c4c95d7843dc825bb59.tar.gz
dotemacs-72b7dad1a1a2af8f7aa73c4c95d7843dc825bb59.zip
fix(dashboard): require recentf before touching recentf-exclude
cj/--dashboard-exclude-emms-from-recentf calls add-to-list on recentf-exclude, which is void until recentf loads. Init order guarantees it today, but a require makes the helper order-independent rather than dependent on load sequence.
Diffstat (limited to 'modules/dashboard-config.el')
-rw-r--r--modules/dashboard-config.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/dashboard-config.el b/modules/dashboard-config.el
index c70b78c2d..3b8a3c5ca 100644
--- a/modules/dashboard-config.el
+++ b/modules/dashboard-config.el
@@ -149,6 +149,7 @@ window."
"Exclude the EMMS history file from recentf.
Adds to `recentf-exclude' so entries set elsewhere (e.g. in
system-defaults) are preserved rather than overwritten."
+ (require 'recentf)
(add-to-list 'recentf-exclude "/emms/history"))
(use-package dashboard