From b67745a9b6254fcd998f62ff333fe902001f43b3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 5 Jul 2018 12:37:05 +0200 Subject: [PATCH] Don't show "Open user manual" button ...unless the manual exists (it will soon)! --- modules/ui/doom-dashboard/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index bff563dfd..38acc6c54 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -58,6 +58,7 @@ Possible values: :action +default/find-in-config) ("Open user manual" :icon (all-the-icons-octicon "book" :face 'font-lock-keyword-face) + :when (file-exists-p (expand-file-name "index.org" doom-docs-dir)) :action doom/open-manual)) "An alist of menu buttons used by `doom-dashboard-widget-shortmenu'. Each element is a cons cell (LABEL . PLIST). LABEL is a string to display after the