Skip to content

Commit

Permalink
Merge syl20bnr#93
Browse files Browse the repository at this point in the history
Co-authored-by: jgrey4296 <[email protected]>
  • Loading branch information
hlissner and jgrey4296 committed May 2, 2020
1 parent 2c24674 commit 130219b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions evil-escape.el
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,12 @@ with a key sequence."
(setq this-command esc-fun)
(setq this-original-command esc-fun))))
((null evt))
(t (setq unread-command-events
(append unread-command-events (list evt)))))))))
;; NOTE Add syl20bnr/evil-escape#93: replace with
;; `unread-command-events' with
;; `unread-post-inpout-method-events' so evil-escape doesn't
;; interfere with macro recording.
((setq unread-post-inpout-method-events
(append unread-post-inpout-method-events (list evt)))))))))

(defadvice evil-repeat (around evil-escape-repeat-info activate)
(let ((evil-escape-inhibit t))
Expand Down

0 comments on commit 130219b

Please sign in to comment.