diff options
Diffstat (limited to 'lisp/eshell/esh-opt.el')
| -rw-r--r-- | lisp/eshell/esh-opt.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el index bba1c4ad25d..c802bee3af5 100644 --- a/lisp/eshell/esh-opt.el +++ b/lisp/eshell/esh-opt.el | |||
| @@ -257,12 +257,12 @@ triggered to say that the switch is unrecognized." | |||
| 257 | remaining | 257 | remaining |
| 258 | (let ((extcmd (memq ':external options))) | 258 | (let ((extcmd (memq ':external options))) |
| 259 | (when extcmd | 259 | (when extcmd |
| 260 | (setq extcmd (eshell-search-path (cadr extcmd))) | 260 | (setq extcmd (eshell-search-path (cadr extcmd)))) |
| 261 | (if extcmd | 261 | (if extcmd |
| 262 | (throw 'eshell-ext-command extcmd) | 262 | (throw 'eshell-ext-command extcmd) |
| 263 | (error (if (characterp (car switch)) "%s: unrecognized option -%c" | 263 | (error (if (characterp (car switch)) "%s: unrecognized option -%c" |
| 264 | "%s: unrecognized option --%s") | 264 | "%s: unrecognized option --%s") |
| 265 | name (car switch)))))))) | 265 | name (car switch))))))) |
| 266 | 266 | ||
| 267 | (defun eshell--process-args (name args options) | 267 | (defun eshell--process-args (name args options) |
| 268 | "Process the given ARGS using OPTIONS." | 268 | "Process the given ARGS using OPTIONS." |