From 8bd3a3ad230a308d36ac766d2edba58ff43db6ae Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 10 Sep 2003 17:52:03 +0000 Subject: [PATCH] (eshell-process-option): Use characterp. --- lisp/eshell/esh-opt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))))))) -- 2.39.2