From d6006e03fa42149248b47df6ac01b7ab7805707b Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Sun, 12 May 2024 18:46:53 +0300 Subject: [PATCH] refactor(emacs): dashboard: use `get-buffer` instead of `get-buffer-create` --- modules/nixos/programs/emacs/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/programs/emacs/init.el b/modules/nixos/programs/emacs/init.el index faed6cf..e308a9b 100644 --- a/modules/nixos/programs/emacs/init.el +++ b/modules/nixos/programs/emacs/init.el @@ -191,7 +191,7 @@ (use-package dashboard :after (consult nerd-icons) :init - (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) + (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) :custom (dashboard-startup-banner 'logo) (dashboard-set-init-info t)