Skip to content

Commit

Permalink
fix(dashboard): adapt to the new use-package disabled packages check (
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 25, 2023
1 parent 3df04e7 commit a1c959b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/me-core-ui.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ Useful for keeping track of the enabled theme."
:straight t
:after evil evil-collection
:demand t
:when (not (bound-and-true-p +dashboard-disable))
:init
(+map! "oD" #'dashboard-open)
:custom
Expand All @@ -73,7 +72,8 @@ Useful for keeping track of the enabled theme."
(evil-collection-dashboard-setup)

;; Avoid openning the dashboard when Emacs starts with an open file.
(unless (cl-some #'buffer-file-name (buffer-list))
(unless (or (bound-and-true-p +dashboard-disable)
(cl-some #'buffer-file-name (buffer-list)))
(dashboard-open)))

(use-package doom-modeline
Expand Down

0 comments on commit a1c959b

Please sign in to comment.