From fdb594455b1fd2c06d508ee24079ccae64cbe11b Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 1 Feb 2007 01:45:04 +0000 Subject: [PATCH] (quail-show-key): Signal an error if the current input method is not using Quail. --- lisp/international/quail.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/international/quail.el b/lisp/international/quail.el index aec2358fdaa..7cedcbf665a 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el @@ -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) -- 2.39.2