mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Replace last-input-char with last-input-event.
This commit is contained in:
parent
cfa2928107
commit
1e4bd40da2
11 changed files with 44 additions and 36 deletions
|
|
@ -2546,7 +2546,7 @@ These keys are ESC, RET, and LineFeed"
|
|||
(let (com)
|
||||
(if (eq this-command 'viper-intercept-ESC-key)
|
||||
(setq com 'viper-exit-insert-state)
|
||||
(viper-set-unread-command-events last-input-char)
|
||||
(viper-set-unread-command-events last-input-event)
|
||||
(setq com (key-binding (viper-read-key-sequence nil))))
|
||||
|
||||
(condition-case conds
|
||||
|
|
@ -2567,7 +2567,7 @@ These keys are ESC, RET, and LineFeed"
|
|||
(if (or (< (point) (viper-replace-start))
|
||||
(> (point) (viper-replace-end)))
|
||||
(let (viper-replace-minor-mode com)
|
||||
(viper-set-unread-command-events last-input-char)
|
||||
(viper-set-unread-command-events last-input-event)
|
||||
(setq com (key-binding (read-key-sequence nil)))
|
||||
(condition-case conds
|
||||
(command-execute com)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue