1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-25 19:11:56 +00:00

(eshell-process-option): Use characterp.

This commit is contained in:
Dave Love 2003-09-10 17:52:03 +00:00
parent 3738891384
commit 8bd3a3ad23

View File

@ -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))))))))