From cb876271e71fe9603e5c748083fa914f4ebf1d78 Mon Sep 17 00:00:00 2001 From: Random936 Date: Sun, 24 Dec 2023 15:21:33 -0800 Subject: [PATCH] Fixed issue with dashboard not working with emacsclient --- .emacs.d/config.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 6bfd29b..5b4c4a6 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -200,7 +200,11 @@ The Emacs dashboard package provides a nice dashboard when first starting up ema #+begin_src emacs-lisp (use-package dashboard - :config (dashboard-setup-startup-hook)) + :config + (setq initial-buffer-choice (lambda () + (get-buffer-create "*dashboard*") + (dashboard-refresh-buffer))) + (dashboard-setup-startup-hook)) #+end_src * Cosmetic