Fixed issue with dashboard interfering with magit
This commit is contained in:
parent
50007f3530
commit
7744d1938b
@ -400,9 +400,6 @@ When installing Vertico, the documentation mentions a few other packages that ad
|
|||||||
The Emacs dashboard package provides a nice dashboard when first starting up emacs.
|
The Emacs dashboard package provides a nice dashboard when first starting up emacs.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
;; Fix for when emacs is run as a daemon
|
|
||||||
|
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:init
|
:init
|
||||||
(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))
|
(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))
|
||||||
@ -415,7 +412,6 @@ The Emacs dashboard package provides a nice dashboard when first starting up ema
|
|||||||
(agenda . 5)))
|
(agenda . 5)))
|
||||||
:config
|
:config
|
||||||
(add-hook 'after-init-hook 'dashboard-refresh-buffer)
|
(add-hook 'after-init-hook 'dashboard-refresh-buffer)
|
||||||
(add-hook 'server-after-make-frame-hook 'dashboard-refresh-buffer)
|
|
||||||
(dashboard-setup-startup-hook))
|
(dashboard-setup-startup-hook))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user