mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/doom-dashboard: fix wrong-type-arg error on reload
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user