changeset 83839:d0a362a52471

(eshell/time): Stringify and flatten the non-command arguments.
author Glenn Morris <rgm@gnu.org>
date Sun, 02 Sep 2007 01:21:49 +0000
parents 3ba7ccb6989b
children ac760d17102c
files lisp/eshell/em-unix.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-unix.el	Sun Sep 02 01:20:31 2007 +0000
+++ b/lisp/eshell/em-unix.el	Sun Sep 02 01:21:49 2007 +0000
@@ -959,7 +959,10 @@
      (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)