# HG changeset patch # User Dave Love # Date 1063216323 0 # Node ID 6afa33e621d80d354d838910ab7a43d85909a25c # Parent 9280279b6356466e0e2e8f8021e4128aefc1b3f4 (eshell-process-option): Use characterp. diff -r 9280279b6356 -r 6afa33e621d8 lisp/eshell/esh-opt.el --- a/lisp/eshell/esh-opt.el Wed Sep 10 17:51:33 2003 +0000 +++ b/lisp/eshell/esh-opt.el Wed Sep 10 17:52:03 2003 +0000 @@ -194,7 +194,7 @@ (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))))))))