From: Glenn Morris Date: Sun, 2 Sep 2007 01:23:17 +0000 (+0000) Subject: (eshell/time): Stringify and flatten the non-command arguments. X-Git-Tag: emacs-pretest-22.1.90~872 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69dc26ba014674080785f994f1e0b93b95758934;p=emacs.git (eshell/time): Stringify and flatten the non-command arguments. --- diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index 6dc02517ec1..4c258f1dae5 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el @@ -930,7 +930,10 @@ Show wall-clock time elapsed during execution of COMMAND.") (add-hook 'eshell-post-command-hook 'eshell-show-elapsed-time nil t) ;; after setting (throw 'eshell-replace-command - (eshell-parse-command (car time-args) (cdr time-args)))))) + (eshell-parse-command (car time-args) +;;; http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-08/msg00205.html + (eshell-stringify-list + (eshell-flatten-list (cdr time-args)))))))) (defalias 'eshell/whoami 'user-login-name)