emacs.d

My emacs configuration, done in a literate programming fashion using org-mode

git clone git://git.shimmy1996.com/emacs.d.git
commit df82c64210323f4de091d927fcf8e8f09d736991
parent 9995b4dcd311d976da12ad3e9beb822a8ce2dd70
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  3 Jun 2018 00:15:19 -0500

Set *dashboard* as default buffer for emacsclient new frames.

Diffstat:
MREADME.org | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
@@ -5,8 +5,8 @@
 This is my humble collection of Emacs config, modeled after [[https://github.com/admiralakber/simplemacs][simplemacs]], documented in an hopefully understandable manner. I went from using multiple =.org= files back to a single one because =org-mode= is fantastic and my config is not too complicated for a single file to handle (yet).
 
 Here's a short description for each module.
-| Module       | Notes                       |
-|--------------+-----------------------------|
+| Module           | Notes                       |
+|------------------+-----------------------------|
 | [[Packages]]     | Package management.         |
 | [[Aesthetics]]   | UI and theme.               |
 | [[Org-mode]]     | Org-mode settings.          |
@@ -82,11 +82,13 @@ Save customized settings in a separate file than =init.el=. Create the customiza
 An extensible emacs startup screen showing you what’s most important.
 *** Installation
 Change default startup screen with =dashboard=.
+Customize =initial-buffer-choice= to affect new frames created by =emacsclient=.
 #+BEGIN_SRC emacs-lisp
   (use-package dashboard
     :ensure t
     :config
-    (dashboard-setup-startup-hook))
+    (dashboard-setup-startup-hook)
+    (setq initial-buffer-choice (lambda()(get-buffer "*dashboard*"))))
 #+END_SRC
 
 *** Customize Banner and Logo