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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -200,7 +200,8 @@ PLIST can have the following properties:
(if (button-at (point)) (if (button-at (point))
(forward-button 0) (forward-button 0)
(backward-button 1))) (backward-button 1)))
(progn (goto-char (point-min)) (ignore-errors
(goto-char (point-min))
(forward-button 1)))) (forward-button 1))))
(defun +doom-dashboard-reload-maybe-h () (defun +doom-dashboard-reload-maybe-h ()