mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/doom-dashboard: disable visual mode in post-command-hook too
This commit is contained in:
@ -93,6 +93,10 @@ Possible values:
|
||||
|
||||
(defun +doom-dashboard|reposition-point ()
|
||||
"Trap the point in the buttons."
|
||||
(when (region-active-p)
|
||||
(deactivate-mark t)
|
||||
(when (bound-and-true-p evil-mode)
|
||||
(evil-change-to-previous-state)))
|
||||
(or (ignore-errors
|
||||
(if (button-at (point))
|
||||
(forward-button 0)
|
||||
|
Reference in New Issue
Block a user