aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--evil-states.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/evil-states.el b/evil-states.el
index 47639a4..529632b 100644
--- a/evil-states.el
+++ b/evil-states.el
@@ -47,7 +47,8 @@ AKA \"Command\" state."
"Reset command loop variables in Normal state.
Also prevent point from reaching the end of the line.
If the region is activated, enter Visual state."
- (unless (evil-initializing-p)
+ (unless (or (evil-initializing-p)
+ (null this-command))
(setq command (or command this-command))
(when (evil-normal-state-p)
(setq evil-this-type nil