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:
parent
3738891384
commit
8bd3a3ad23
@ -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))))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user