[oni-core] Ensure that ‘initial-buffer-choice’ gets a live buffer
This commit is contained in:
parent
43eecedd1a
commit
a7bf05b48c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue