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
This commit is contained in:
Henrik Lissner
2019-11-07 18:26:32 -05:00
parent 44d5e097c9
commit c37bdf71d1

View File

@ -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.