1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

(eshell/time): Stringify and flatten the non-command arguments.

This commit is contained in:
Glenn Morris 2007-09-02 01:23:17 +00:00
parent 95719f36e5
commit 69dc26ba01

View File

@ -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)