diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-08-07 08:56:42 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-08-18 22:29:36 -0400 |
commit | e66e81679c3c91d6bf8f62c7abcd968430b4d1fe (patch) | |
tree | 975efee674bce6b2d56678e5a536d4d68531adcd /lisp/eshell | |
parent | 8ed64463005c9c94d6822229567717e48e5ee0c5 (diff) | |
download | emacs-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.el | 2 |
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. |