diff options
author | Dave Love <[email protected]> | 2003-09-10 17:52:03 +0000 |
---|---|---|
committer | Dave Love <[email protected]> | 2003-09-10 17:52:03 +0000 |
commit | 8bd3a3ad230a308d36ac766d2edba58ff43db6ae (patch) | |
tree | ea85df37a27705047f260e873440673c058737f2 /lisp/eshell | |
parent | 373889138435067d59b22271ea48c38fa0e4214e (diff) |
(eshell-process-option): Use characterp.
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/esh-opt.el | 2 |
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)))))))) |