(read-input-method-name): Show more appropriate error message.

This commit is contained in:
Kenichi Handa 1997-07-25 08:06:19 +00:00
parent 0f706dacee
commit 43807b7703

View file

@ -415,7 +415,7 @@ If INHIBIT-NULL is non-nil, null input signals an error."
(if (> (length input-method) 0)
input-method
(if inhibit-null
(error "The specified input method is not available")))))
(error "No valid input method is specified")))))
;; Actvate INPUT-METHOD.
(defun activate-input-method (input-method)