aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
authorAxel Forsman <axelsfor@gmail.com>2023-02-20 12:25:58 +0100
committerAxel Forsman <axelsfor@gmail.com>2023-03-04 10:49:19 +0100
commit2b2ba3cbeabe1f239b6b0ebdaddcb68dd158bd1f (patch)
tree766909e5fa02700e3af18a87479d991b719e3792 /evil-commands.el
parente7f170fb1f08662b5a4165adc23d84858129e3ef (diff)
Remove evil-last-read-digraph-char hack
With the Evil repeat system now aware of read-key, there is no need for the digraph repeat workaround introduced by commit dba2fa9907cf096f5e615df2e8b0381b643d47ee.
Diffstat (limited to 'evil-commands.el')
-rw-r--r--evil-commands.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el
index e8cdb2e..d44d3ab 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -3767,7 +3767,7 @@ resp. after executing the command."
;; tag, which bypasses the source of `this-command-keys', we'd be able
;; to capture the key(s) in the post-command of the operator as usual.
;; Fortunately however, `last-input-event' can see the key (by default, `return')
- (unless (append (this-command-keys) nil)
+ (when (= (length (this-command-keys)) 0)
(evil-repeat-record (vector last-input-event))))
(t (evil-repeat-motion flag))))