From 18b1b4b4110a6598496be781c58942c33590f6e6 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 4 Jan 2016 23:39:35 -0500 Subject: [PATCH] Explicitly recreate the home buffer for first GUI client --- core/core-spacemacs.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/core-spacemacs.el b/core/core-spacemacs.el index 205755067..04cca4f8f 100644 --- a/core/core-spacemacs.el +++ b/core/core-spacemacs.el @@ -84,6 +84,11 @@ (car dotspacemacs-default-font)))) ;; spacemacs init (spacemacs-buffer/goto-buffer) + ;; explicitly recreate the home buffer for the first GUI client + (spacemacs|do-after-display-system-init + (kill-buffer (get-buffer spacemacs-buffer-name)) + (spacemacs-buffer/goto-buffer)) + (setq initial-buffer-choice (lambda () (get-buffer spacemacs-buffer-name))) ;; mandatory dependencies ;; dash is required to prevent a package.el bug with f on 24.3.1