ui/doom-dashboard: fix wrong-type-arg error on reload

This commit is contained in:
Henrik Lissner
2018-03-27 19:06:22 -04:00
parent 06577c9fe3
commit 93678494cb

View File

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