diff options
| author | Dave Love | 2003-09-10 17:52:03 +0000 |
|---|---|---|
| committer | Dave Love | 2003-09-10 17:52:03 +0000 |
| commit | 8bd3a3ad230a308d36ac766d2edba58ff43db6ae (patch) | |
| tree | ea85df37a27705047f260e873440673c058737f2 /lisp/eshell | |
| parent | 373889138435067d59b22271ea48c38fa0e4214e (diff) | |
| download | emacs-8bd3a3ad230a308d36ac766d2edba58ff43db6ae.tar.gz emacs-8bd3a3ad230a308d36ac766d2edba58ff43db6ae.zip | |
(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 6807e1a4f02..2187d614228 100644 --- a/lisp/eshell/esh-opt.el +++ b/lisp/eshell/esh-opt.el | |||
| @@ -194,7 +194,7 @@ switch is unrecognized." | |||
| 194 | (setq extcmd (eshell-search-path (cadr extcmd))) | 194 | (setq extcmd (eshell-search-path (cadr extcmd))) |
| 195 | (if extcmd | 195 | (if extcmd |
| 196 | (throw 'eshell-ext-command extcmd) | 196 | (throw 'eshell-ext-command extcmd) |
| 197 | (if (char-valid-p switch) | 197 | (if (characterp switch) |
| 198 | (error "%s: unrecognized option -%c" name switch) | 198 | (error "%s: unrecognized option -%c" name switch) |
| 199 | (error "%s: unrecognized option --%s" name switch)))))))) | 199 | (error "%s: unrecognized option --%s" name switch)))))))) |
| 200 | 200 | ||