From b6998ad50fe15de83353ff9480762efeeaba7b20 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 17 Feb 2021 15:47:18 +0800 Subject: [PATCH] Clean up recentf list before insertion --- dashboard-widgets.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard-widgets.el b/dashboard-widgets.el index 0ea52cdb..08f9dcf8 100644 --- a/dashboard-widgets.el +++ b/dashboard-widgets.el @@ -779,7 +779,7 @@ If optional argument DIR is non-nil; align with directory name instead." (defun dashboard-insert-recents (list-size) "Add the list of LIST-SIZE items from recently edited files." (setq dashboard--recentf-cache-item-format nil) - (recentf-mode) + (recentf-mode) (recentf-cleanup) (dashboard-insert-section "Recent Files:" (dashboard-shorten-paths recentf-list 'dashboard-recentf-alist)