1
0
mirror of https://github.com/Foltik/dotfiles synced 2025-02-08 11:24:15 -05:00

Remove scratch buffer

This commit is contained in:
Jack Foltz 2019-02-04 23:50:16 -05:00
parent 4dd794f90f
commit eef2ffeeb2
No known key found for this signature in database
GPG Key ID: E7B502AB1576E6CD

View File

@ -399,7 +399,10 @@ Show a cool custom buffer on startup
:config
(dashboard-setup-startup-hook)
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
(setq initial-buffer-choice (lambda ()
(if (get-buffer "*scratch*")
(kill-buffer "*scratch*"))
(get-buffer "*dashboard*")))
:custom
(dashboard-startup-banner 'logo)