From 474f330cd425d87a8777588719f43c9b7c070fe0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 Sep 2017 19:35:44 +0200 Subject: [PATCH] Use doom-emacs-dir as dashboard's default directory --- modules/ui/doom-dashboard/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index c9d535f16..02660e163 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -54,7 +54,8 @@ if in a GUI/non-daemon session." (add-hook 'focus-in-hook #'+doom-dashboard-reload) (add-hook 'kill-buffer-query-functions #'+doom-dashboard|kill-buffer-query-fn) (when (and (display-graphic-p) (not (daemonp))) - (+doom-dashboard/open (selected-frame)))) + (let ((default-directory doom-emacs-dir)) + (+doom-dashboard/open (selected-frame))))) (defun +doom-dashboard|kill-buffer-query-fn () (or (not (+doom-dashboard-p))