diff options
| author | Noam Postavsky | 2017-08-07 08:56:42 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-08-18 22:29:36 -0400 |
| commit | e66e81679c3c91d6bf8f62c7abcd968430b4d1fe (patch) | |
| tree | 975efee674bce6b2d56678e5a536d4d68531adcd | |
| parent | 8ed64463005c9c94d6822229567717e48e5ee0c5 (diff) | |
| download | emacs-e66e81679c3c91d6bf8f62c7abcd968430b4d1fe.tar.gz emacs-e66e81679c3c91d6bf8f62c7abcd968430b4d1fe.zip | |
Don't lose arguments to eshell aliases (Bug#27954)
* lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use ARGS.
| -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'.") | |||
| 225 | (eshell-command-arguments ',eshell-last-arguments) | 225 | (eshell-command-arguments ',eshell-last-arguments) |
| 226 | (eshell-prevent-alias-expansion | 226 | (eshell-prevent-alias-expansion |
| 227 | ',(cons command eshell-prevent-alias-expansion))) | 227 | ',(cons command eshell-prevent-alias-expansion))) |
| 228 | ,(eshell-parse-command (nth 1 alias)))))))) | 228 | ,(eshell-parse-command (nth 1 alias) args))))))) |
| 229 | 229 | ||
| 230 | (defun eshell-alias-completions (name) | 230 | (defun eshell-alias-completions (name) |
| 231 | "Find all possible completions for NAME. | 231 | "Find all possible completions for NAME. |