Skip to content

Commit

Permalink
Fix unexpected escape when unordered-key-sequence is non nil
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
syl20bnr committed Sep 11, 2015
1 parent 9c87994 commit 6790f87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion evil-escape.el
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@ with a key sequence."
(set-buffer-modified-p modified)
(cond
((and (integerp evt)
(or (char-equal evt skey)
(or (and (equal (this-command-keys) (evil-escape--first-key))
(char-equal evt skey))
(and evil-escape-unordered-key-sequence
(equal (this-command-keys) (evil-escape--second-key))
(char-equal evt fkey))))
(evil-escape)
(setq this-command 'ignore))
Expand Down

0 comments on commit 6790f87

Please sign in to comment.