From 40c6c4f7d0b9a03d979a181597b552136e81b50c Mon Sep 17 00:00:00 2001 From: anastygnome Date: Fri, 23 Apr 2021 11:49:35 +0000 Subject: [PATCH] Correct opening bug with doom Use doom fallback-buffer otherwise doom might start on scratch buffer while opening a file from shell --- .config/doom/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/doom/config.org b/.config/doom/config.org index 72ad93a..37dd1f3 100644 --- a/.config/doom/config.org +++ b/.config/doom/config.org @@ -108,7 +108,7 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma ** Dashboard in Emacsclient This setting ensures that emacsclient always opens on *dashboard* rather than *scratch*. #+begin_src emacs-lisp -(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) +(setq doom-fallback-buffer "*dashboard*") #+end_src * DIRED