1
0
Fork 0

[oni-core] Ensure that ‘initial-buffer-choice’ gets a live buffer

This commit is contained in:
Tom Willemse 2021-06-21 23:39:58 -07:00
parent 43eecedd1a
commit a7bf05b48c

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; This program is free software; you can redistribute it and/or modify
@ -148,7 +148,7 @@ _s_: String list"
(require 'dashboard) (require 'dashboard)
(dashboard-setup-startup-hook) (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. ;; Increase the threshold for garbage collection for increased performance.
;; Apparently there are some (lsp-mode for example) packages that generate a lot ;; Apparently there are some (lsp-mode for example) packages that generate a lot