From: Noam Postavsky Date: Mon, 7 Aug 2017 12:56:42 +0000 (-0400) Subject: Don't lose arguments to eshell aliases (Bug#27954) X-Git-Tag: emacs-26.0.90~415 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e66e81679c3c91d6bf8f62c7abcd968430b4d1fe;p=emacs.git Don't lose arguments to eshell aliases (Bug#27954) * lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use ARGS. --- 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.