From c37bdf71d1bc3c39e658a5d928c672af562f9b3e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 7 Nov 2019 18:26:32 -0500 Subject: [PATCH] Demote "no more buttons" error to warning If the shortmenu or buttons were disabled, this error would break the dashboard (and Doom). Mentioned in #2024 --- modules/ui/doom-dashboard/config.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index 5aa448a07..87f12df10 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -200,8 +200,9 @@ PLIST can have the following properties: (if (button-at (point)) (forward-button 0) (backward-button 1))) - (progn (goto-char (point-min)) - (forward-button 1)))) + (ignore-errors + (goto-char (point-min)) + (forward-button 1)))) (defun +doom-dashboard-reload-maybe-h () "Reload the dashboard or its state.