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
commit37045fbbab224f0b06519d5098532a34333ab557 (patch)
tree336fc393eaf62e2496911b98003a2d4b745bf49b /modules/dashboard-config.el
parenta67d4fabe242f5ea36e8a4e1401e3317a92f0ec7 (diff)
downloaddotemacs-37045fbbab224f0b06519d5098532a34333ab557.tar.gz
dotemacs-37045fbbab224f0b06519d5098532a34333ab557.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 c70b78c2..3b8a3c5c 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