From a7bf05b48c47740de50c2adbc0fa8da703958f7b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 21 Jun 2021 23:39:58 -0700 Subject: [oni-core] Ensure that ‘initial-buffer-choice’ gets a live buffer --- oni-core.el | 4 ++-- 1 file 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 ;; 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 -- cgit v1.2.3-54-g00ecf