diff options
Diffstat (limited to 'leim/quail/japanese.el')
-rw-r--r-- | leim/quail/japanese.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/leim/quail/japanese.el b/leim/quail/japanese.el index d0c7b684040..13115b7cf98 100644 --- a/leim/quail/japanese.el +++ b/leim/quail/japanese.el @@ -79,9 +79,10 @@ ;; exited normally, else ARG is a cons (FROM . TO) where FROM and TO ;; specify a region not yet processed. (defun quail-japanese-kkc-mode-exit (arg) - (setq overriding-terminal-local-map (quail-conversion-keymap)) (if arg - (move-overlay quail-conv-overlay (car arg) (cdr arg)) + (progn + (setq overriding-terminal-local-map (quail-conversion-keymap)) + (move-overlay quail-conv-overlay (car arg) (cdr arg))) (run-hooks 'input-method-after-insert-chunk-hook))) (defun quail-japanese-self-insert-and-switch-to-alpha (key idx) |