emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master e66e816 2/2: Don't lose arguments to eshell aliases


From: Noam Postavsky
Subject: [Emacs-diffs] master e66e816 2/2: Don't lose arguments to eshell aliases (Bug#27954)
Date: Fri, 18 Aug 2017 22:28:31 -0400 (EDT)

branch: master
commit e66e81679c3c91d6bf8f62c7abcd968430b4d1fe
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Don't lose arguments to eshell aliases (Bug#27954)
    
    * lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use ARGS.
---
 lisp/eshell/em-alias.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el
index 5bf80b2..990eb02 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]