diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-12 11:32:53 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-12 11:32:53 -0500 |
| commit | 72b7dad1a1a2af8f7aa73c4c95d7843dc825bb59 (patch) | |
| tree | ffd96dbae274aeecc9c49e4210ef7931f19c48fb | |
| parent | c6260735749d29dda254361427c613572a2c6a65 (diff) | |
| download | dotemacs-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.
| -rw-r--r-- | modules/dashboard-config.el | 1 |
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 |
