aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/eshell/esh-arg.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/eshell/esh-arg.el b/lisp/eshell/esh-arg.el
index 7e0be3138e8..322a0173b27 100644
--- a/lisp/eshell/esh-arg.el
+++ b/lisp/eshell/esh-arg.el
@@ -342,8 +342,10 @@ special character that is not itself a backslash."
342 (save-restriction 342 (save-restriction
343 (forward-char) 343 (forward-char)
344 (narrow-to-region (point) end) 344 (narrow-to-region (point) end)
345 (list 'eshell-escape-arg 345 (let ((arg (eshell-parse-argument)))
346 (eshell-parse-argument))) 346 (if (eq arg nil)
347 ""
348 (list 'eshell-escape-arg arg))))
347 (goto-char (1+ end))))))) 349 (goto-char (1+ end)))))))
348 350
349(defun eshell-parse-special-reference () 351(defun eshell-parse-special-reference ()