Skip to content

Commit

Permalink
Account for input method of keyboard event
Browse files Browse the repository at this point in the history
Since an event not matched by the `cond' form now goes in
`unread-post-input-method-events' rather than `unread-command-events',
turn on the appropriate argument of the initial `read-event'
(INHERIT-INPUT-METHOD) to make sure the event doesn't get queued without
its input method ever being handled.
  • Loading branch information
danielkoning committed Jun 13, 2020
1 parent 819f1ee commit df70ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evil-escape.el
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ with a key sequence."
(inserted (evil-escape--insert))
(fkey (elt evil-escape-key-sequence 0))
(skey (elt evil-escape-key-sequence 1))
(evt (read-event nil nil evil-escape-delay)))
(evt (read-event nil t evil-escape-delay)))
(when inserted (evil-escape--delete))
;; NOTE Add syl20bnr/evil-escape#91: replace `set-buffer-modified-p'
;; with `restore-buffer-modified-p', which doesn't redisplay the
Expand Down

0 comments on commit df70ed6

Please sign in to comment.