aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/esh-opt.el
diff options
context:
space:
mode:
authorAlan Mackenzie2022-01-22 11:02:50 +0000
committerAlan Mackenzie2022-01-22 11:02:50 +0000
commit14d64a8adcc866deecd758b898e8ef2d836b354a (patch)
tree83cff9669e266f8e283ccb8cd7518e909240f1e1 /lisp/eshell/esh-opt.el
parentbdd9b5b8a0d37dd09ee530c1dab3a44bee09e0f8 (diff)
parentebe334cdc234de2897263aed4c05ac7088c11857 (diff)
downloademacs-scratch/correct-warning-pos.tar.gz
emacs-scratch/correct-warning-pos.zip
Merge branch 'master' into scratch/correct-warning-posscratch/correct-warning-pos
Diffstat (limited to 'lisp/eshell/esh-opt.el')
-rw-r--r--lisp/eshell/esh-opt.el12
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."