diff options
| author | Glenn Morris | 2007-09-02 01:21:49 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-02 01:21:49 +0000 |
| commit | 1ffb5a86a9f27bf8cfb459b09e7d7ca3e8696da5 (patch) | |
| tree | 6a5f24453d4c8e081849a519c7ffa049ea680533 /lisp | |
| parent | 0720576cfb95b17d22a115ba04fed7ee0ace45a2 (diff) | |
| download | emacs-1ffb5a86a9f27bf8cfb459b09e7d7ca3e8696da5.tar.gz emacs-1ffb5a86a9f27bf8cfb459b09e7d7ca3e8696da5.zip | |
(eshell/time): Stringify and flatten the non-command arguments.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/eshell/em-unix.el | 5 |
1 files changed, 4 insertions, 1 deletions
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.") | |||
| 959 | (add-hook 'eshell-post-command-hook 'eshell-show-elapsed-time nil t) | 959 | (add-hook 'eshell-post-command-hook 'eshell-show-elapsed-time nil t) |
| 960 | ;; after setting | 960 | ;; after setting |
| 961 | (throw 'eshell-replace-command | 961 | (throw 'eshell-replace-command |
| 962 | (eshell-parse-command (car time-args) (cdr time-args)))))) | 962 | (eshell-parse-command (car time-args) |
| 963 | ;;; http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-08/msg00205.html | ||
| 964 | (eshell-stringify-list | ||
| 965 | (eshell-flatten-list (cdr time-args)))))))) | ||
| 963 | 966 | ||
| 964 | (defalias 'eshell/whoami 'user-login-name) | 967 | (defalias 'eshell/whoami 'user-login-name) |
| 965 | 968 | ||