aboutsummaryrefslogtreecommitdiff
path: root/modules
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
commitb5ee20da1513f939dad9950c2c36f6af615a236a (patch)
tree510b88f796cb7d6a264452935c5c27eab8535e31 /modules
parent734a4d3f1b704a2da4315345d7333357b7d48395 (diff)
downloaddotemacs-b5ee20da1513f939dad9950c2c36f6af615a236a.tar.gz
dotemacs-b5ee20da1513f939dad9950c2c36f6af615a236a.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')
-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