From 93678494cb3bf536cc166d22737e5ca3590b7d5d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 27 Mar 2018 19:06:22 -0400 Subject: [PATCH] ui/doom-dashboard: fix wrong-type-arg error on reload --- modules/ui/doom-dashboard/config.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index ddb68a072..9b6b03bab 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -216,9 +216,7 @@ controlled by `+doom-dashboard-pwd-policy'." (insert (make-string (max 0 (- (/ (window-height (get-buffer-window)) 2) (/ (count-lines (point-min) (point-max)) 2))) - ?\n))) - (unless (button-at (point)) - (goto-char (next-button (point-min))))) + ?\n)))) (+doom-dashboard|detect-project) (+doom-dashboard|resize) (+doom-dashboard-update-pwd)