From e47b870e37c8e1c51fd5a948cf3e8b1d708fdf85 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 14 Dec 2021 15:15:13 +0800 Subject: * dashboard.el (dashboard): set default directory correctly --- dashboard.el | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard.el b/dashboard.el index 624210b..6d660fd 100644 --- a/dashboard.el +++ b/dashboard.el @@ -58,6 +58,7 @@ If FORCE is non-nil, re-gerenate the dashboard buffer." (insert (center-string-in-width "Dashboard" (window-body-width))) (read-only-mode 1) (set 'mode-line-format '("%e" (:eval (modeline-format-dashboard)))) + (set 'default-directory user-emacs-directory) (view-mode 1)))) dashboard)) -- cgit v1.2.3-18-g5258