summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2017-08-07 08:56:42 -0400
committerNoam Postavsky <npostavs@gmail.com>2017-08-18 22:29:36 -0400
commite66e81679c3c91d6bf8f62c7abcd968430b4d1fe (patch)
tree975efee674bce6b2d56678e5a536d4d68531adcd /lisp/eshell
parent8ed64463005c9c94d6822229567717e48e5ee0c5 (diff)
downloademacs-e66e81679c3c91d6bf8f62c7abcd968430b4d1fe.tar.gz
Don't lose arguments to eshell aliases (Bug#27954)
* lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use ARGS.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-alias.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el
index 5bf80b2310a..990eb020241 100644
--- a/lisp/eshell/em-alias.el
+++ b/lisp/eshell/em-alias.el
@@ -225,7 +225,7 @@ file named by `eshell-aliases-file'.")
(eshell-command-arguments ',eshell-last-arguments)
(eshell-prevent-alias-expansion
',(cons command eshell-prevent-alias-expansion)))
- ,(eshell-parse-command (nth 1 alias))))))))
+ ,(eshell-parse-command (nth 1 alias) args)))))))
(defun eshell-alias-completions (name)
"Find all possible completions for NAME.