summaryrefslogtreecommitdiff
path: root/dashboard.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-12-14 15:15:13 +0800
committerJSDurand <mmemmew@gmail.com>2021-12-14 15:15:13 +0800
commite47b870e37c8e1c51fd5a948cf3e8b1d708fdf85 (patch)
tree158911383cb9fbdb735f20244d9f88e4979a0576 /dashboard.el
parent9f55708e2ceab2fd3d7b9f1dbc6dc3bb736ffe67 (diff)
* dashboard.el (dashboard): set default directory correctly
Diffstat (limited to 'dashboard.el')
-rw-r--r--dashboard.el1
1 files changed, 1 insertions, 0 deletions
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))