diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index acde3ad25..a446f2d8a 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -330,11 +330,11 @@ controlled by `+doom-dashboard-pwd-policy'." "\n\n")))) `(("Homepage" "mark-github" (browse-url "https://github.com/hlissner/doom-emacs")) - ,(when (and (featurep! :feature workspaces) + ,(when (and (bound-and-true-p persp-mode) (file-exists-p (expand-file-name persp-auto-save-fname persp-save-dir))) '("Reload last session" "history" (+workspace/load-session))) - ,(when (featurep! :lang org) + ,(when (fboundp 'org-agenda-list) '("See agenda for this week" "calendar" (call-interactively #'org-agenda-list))) ("Recently opened files" "file-text"