]> git.eshelyaron.com Git - emacs.git/commitdiff
(quail-show-key): Signal an error if the
authorKenichi Handa <handa@m17n.org>
Thu, 1 Feb 2007 01:45:04 +0000 (01:45 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 1 Feb 2007 01:45:04 +0000 (01:45 +0000)
current input method is not using Quail.

lisp/international/quail.el

index aec2358fdaab0c1120486dc6250c205fc7981e2a..7cedcbf665a9a10b5a2e2626b2d08b3975f1cbad 100644 (file)
@@ -2772,6 +2772,8 @@ If CHAR is an ASCII character and can be input by typing itself, return t."
   (interactive)
   (or current-input-method
       (error "No input method is activated"))
+  (or (assoc current-input-method quail-package-alist)
+      (error "The current input method is not using Quail."))
   (let* ((char (following-char))
         (key-list (quail-find-key char)))
     (cond ((consp key-list)