From b68fa3b120b32eb68a73b0cc09b088104b6127b0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 20 Mar 2018 00:00:21 -0400 Subject: [PATCH] ui/doom-dashboard: disable visual mode in post-command-hook too --- modules/ui/doom-dashboard/config.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index f469ebc89..070737e97 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -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)