diff options
| author | Tom Dalziel <tom_dl@hotmail.com> | 2024-06-03 19:31:59 +0200 |
|---|---|---|
| committer | Tom Dalziel <33435574+tomdl89@users.noreply.github.com> | 2024-06-14 18:21:16 +0200 |
| commit | a32f016536fadf5080be39f239288b76146216ee (patch) | |
| tree | 7b58545261f0524065068ead4e08cb1cea1c10b7 /evil-commands.el | |
| parent | 3ba76c1c1f6e8f0389d7bebbd220eefaca796da4 (diff) | |
Only restore visual if there's something to restore
Diffstat (limited to 'evil-commands.el')
| -rw-r--r-- | evil-commands.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-commands.el b/evil-commands.el index 2221ab4..1278c61 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -2591,8 +2591,8 @@ COUNT is infinite." (null evil-visual-point))) (t (setq mark evil-visual-mark - point evil-visual-point))) - (evil-visual-make-selection mark point type t)))) + point evil-visual-point) + (evil-visual-make-selection mark point type t)))))) (evil-define-motion evil-visual-exchange-corners () "Rearrange corners in Visual Block mode. |
