changeset 89489:6afa33e621d8

(eshell-process-option): Use characterp.
author Dave Love <fx@gnu.org>
date Wed, 10 Sep 2003 17:52:03 +0000
parents 9280279b6356
children db33d6285e97
files lisp/eshell/esh-opt.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))))))))