From: Dave Love Date: Wed, 10 Sep 2003 17:52:03 +0000 (+0000) Subject: (eshell-process-option): Use characterp. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1859 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8bd3a3ad230a308d36ac766d2edba58ff43db6ae;p=emacs.git (eshell-process-option): Use characterp. --- diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el index 6807e1a4f02..2187d614228 100644 --- a/lisp/eshell/esh-opt.el +++ b/lisp/eshell/esh-opt.el @@ -194,7 +194,7 @@ switch is unrecognized." (setq extcmd (eshell-search-path (cadr extcmd))) (if extcmd (throw 'eshell-ext-command extcmd) - (if (char-valid-p switch) + (if (characterp switch) (error "%s: unrecognized option -%c" name switch) (error "%s: unrecognized option --%s" name switch))))))))