Don't lose arguments to eshell aliases (Bug#27954)

* lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use ARGS.
This commit is contained in:
Noam Postavsky 2017-08-07 08:56:42 -04:00
parent 8ed6446300
commit e66e81679c

View file

@ -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.