changeset 78715:eae42b4923bd

(eshell/time): Stringify and flatten the non-command arguments.
author Glenn Morris <rgm@gnu.org>
date Sun, 02 Sep 2007 01:23:17 +0000
parents d3395d1b79ae
children e49ff57b4ee8
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:23:02 2007 +0000
+++ b/lisp/eshell/em-unix.el	Sun Sep 02 01:23:17 2007 +0000
@@ -930,7 +930,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)