mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-05-10 22:09:43 -07:00
fix(dashboard): hide cursor if no buttons
This commit is contained in:
parent
3baa406d65
commit
cf59eedd9c
1 changed files with 4 additions and 1 deletions
|
|
@ -275,7 +275,10 @@ dashboard reloading is inhibited.")
|
|||
(backward-button 1)))
|
||||
(ignore-errors
|
||||
(goto-char (point-min))
|
||||
(forward-button 1))))
|
||||
(forward-button 1)))
|
||||
(unless (button-at (point))
|
||||
(setq-local cursor-type nil
|
||||
evil-normal-state-cursor nil)))
|
||||
|
||||
(defun +dashboard-reload-maybe-h (&rest _)
|
||||
"Reload the dashboard or its state.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue