aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorDave Love <[email protected]>2003-09-10 17:52:03 +0000
committerDave Love <[email protected]>2003-09-10 17:52:03 +0000
commit8bd3a3ad230a308d36ac766d2edba58ff43db6ae (patch)
treeea85df37a27705047f260e873440673c058737f2 /lisp/eshell
parent373889138435067d59b22271ea48c38fa0e4214e (diff)
(eshell-process-option): Use characterp.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-opt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el
index 6807e1a4f0..2187d61422 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))))))))