Skip to content

Commit

Permalink
revert(dashboard): the bug was caused by the use-package advice
Browse files Browse the repository at this point in the history
This reverts commit a1c959b.
  • Loading branch information
abougouffa committed Oct 25, 2023
1 parent 00345fe commit 1f62efd
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,6 +55,7 @@ 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 @@ -72,8 +73,7 @@ Useful for keeping track of the enabled theme."
(evil-collection-dashboard-setup)

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

(use-package doom-modeline
Expand Down

0 comments on commit 1f62efd

Please sign in to comment.