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))