aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
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 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