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 | d46b0709de2becdfcb40fc1394f19fc84e569635 (patch) | |
| tree | 6f8691dbf3608bc5a312c44d9489b9ead8bf6791 /modules/dashboard-config.el | |
| parent | dca3f3d60f305414e47c01f9abb4e09a18568512 (diff) | |
| download | dotemacs-d46b0709de2becdfcb40fc1394f19fc84e569635.tar.gz dotemacs-d46b0709de2becdfcb40fc1394f19fc84e569635.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.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 |
