diff options
| author | Kenichi Handa | 2004-09-25 02:08:41 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-09-25 02:08:41 +0000 |
| commit | 45c9a0f754636bccb041c1414136546101e839a0 (patch) | |
| tree | 6de297bc5485f316406fa6f744bcec80e7632b84 | |
| parent | cb65c373de1e454248bbb7cc931038f5a7dcbf7e (diff) | |
| download | emacs-45c9a0f754636bccb041c1414136546101e839a0.tar.gz emacs-45c9a0f754636bccb041c1414136546101e839a0.zip | |
(ucs-input-method): Add error clause to
condition-case.
| -rw-r--r-- | leim/quail/uni-input.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/leim/quail/uni-input.el b/leim/quail/uni-input.el index 12b93dc19a6..6408eb13cc4 100644 --- a/leim/quail/uni-input.el +++ b/leim/quail/uni-input.el | |||
| @@ -99,8 +99,9 @@ | |||
| 99 | (ucs-input-insert-char key)) | 99 | (ucs-input-insert-char key)) |
| 100 | (let ((last-command-char key) | 100 | (let ((last-command-char key) |
| 101 | (current-prefix-arg)) | 101 | (current-prefix-arg)) |
| 102 | (condition-case nil | 102 | (condition-case err |
| 103 | (call-interactively (key-binding seq)))) | 103 | (call-interactively (key-binding seq)) |
| 104 | (quail-error (message "%s" (cdr err)) (beep)))) | ||
| 104 | (quail-delete-region) | 105 | (quail-delete-region) |
| 105 | (throw 'non-digit (append (reverse events) | 106 | (throw 'non-digit (append (reverse events) |
| 106 | (listify-key-sequence seq)))))) | 107 | (listify-key-sequence seq)))))) |