From 1ffb5a86a9f27bf8cfb459b09e7d7ca3e8696da5 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 2 Sep 2007 01:21:49 +0000 Subject: [PATCH] (eshell/time): Stringify and flatten the non-command arguments. --- lisp/eshell/em-unix.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index ae65c7205b1..aaad664918f 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el @@ -959,7 +959,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) -- 2.39.5