comparison lisp/international/mule-cmds.el @ 18978:0f01c27a9756

(read-input-method-name): Show more appropriate error message.
author Kenichi Handa <handa@m17n.org>
date Fri, 25 Jul 1997 08:06:19 +0000
parents c33e6f7947ed
children 2297a2cb909d
comparison
equal deleted inserted replaced
18977:801bc19b01dc 18978:0f01c27a9756
413 (input-method (completing-read prompt input-method-alist 413 (input-method (completing-read prompt input-method-alist
414 nil t initial-input))) 414 nil t initial-input)))
415 (if (> (length input-method) 0) 415 (if (> (length input-method) 0)
416 input-method 416 input-method
417 (if inhibit-null 417 (if inhibit-null
418 (error "The specified input method is not available"))))) 418 (error "No valid input method is specified")))))
419 419
420 ;; Actvate INPUT-METHOD. 420 ;; Actvate INPUT-METHOD.
421 (defun activate-input-method (input-method) 421 (defun activate-input-method (input-method)
422 (if (and current-input-method 422 (if (and current-input-method
423 (not (string= current-input-method input-method))) 423 (not (string= current-input-method input-method)))