]> git.eshelyaron.com Git - emacs.git/commitdiff
(ucs-input-method): Add error clause to
authorKenichi Handa <handa@m17n.org>
Sat, 25 Sep 2004 02:08:41 +0000 (02:08 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 25 Sep 2004 02:08:41 +0000 (02:08 +0000)
condition-case.

leim/quail/uni-input.el

index 12b93dc19a69ee2d0eb0814daa7414da1d401019..6408eb13cc43e43245bf8cb1104a8a6c1eff72c0 100644 (file)
@@ -99,8 +99,9 @@
                        (ucs-input-insert-char key))
                    (let ((last-command-char key)
                          (current-prefix-arg))
-                     (condition-case nil
-                         (call-interactively (key-binding seq))))
+                     (condition-case err
+                         (call-interactively (key-binding seq))
+                       (quail-error (message "%s" (cdr err)) (beep))))
                    (quail-delete-region)
                    (throw 'non-digit (append (reverse events)
                                              (listify-key-sequence seq))))))