aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-06-21 23:39:58 -0700
committerGravatar Tom Willemse2021-06-21 23:39:58 -0700
commita7bf05b48c47740de50c2adbc0fa8da703958f7b (patch)
tree7e54224200a9b971469b3a9770387956d567ed86
parent43eecedd1af05832ec557deb8922caa22c46ccb5 (diff)
downloademacs-config-a7bf05b48c47740de50c2adbc0fa8da703958f7b.tar.gz
emacs-config-a7bf05b48c47740de50c2adbc0fa8da703958f7b.zip
[oni-core] Ensure that ‘initial-buffer-choice’ gets a live buffer
-rw-r--r--oni-core.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/oni-core.el b/oni-core.el
index 02a6918..5901fda 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0621.233612
+;; Version: 2021.0621.233954
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard)
;; This program is free software; you can redistribute it and/or modify
@@ -148,7 +148,7 @@ _s_: String list"
(require 'dashboard)
(dashboard-setup-startup-hook)
-(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
+(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
;; Increase the threshold for garbage collection for increased performance.
;; Apparently there are some (lsp-mode for example) packages that generate a lot