summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-unix.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2018-03-10 21:49:22 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2018-03-10 21:49:22 -0500
commit6a2d179a477d6d92fe9df78c4eee392cf83d6d4e (patch)
treec60724d608097be5de8bb0b5ee7cac978d88de68 /lisp/eshell/em-unix.el
parenta3f26048a9b115e8dabffaa768128eaccd07dfd3 (diff)
downloademacs-6a2d179a477d6d92fe9df78c4eee392cf83d6d4e.tar.gz
eshell-eval-using-options: Avoid compiler warning differently
* lisp/eshell/em-unix.el (eshell/time): * lisp/eshell/em-tramp.el (eshell/sudo): * lisp/eshell/esh-var.el (eshell/env): Remove artificial use of `args'. * lisp/eshell/esh-opt.el (eshell-eval-using-options): Silence warning when `args' is not used by `body-forms'.
Diffstat (limited to 'lisp/eshell/em-unix.el')
-rw-r--r--lisp/eshell/em-unix.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index 04c517f82a0..a18fb85507d 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -956,7 +956,6 @@ Summarize disk usage of each FILE, recursively for directories.")
:show-usage
:usage "COMMAND...
Show wall-clock time elapsed during execution of COMMAND.")
- args ; suppress "unused lexical variable" warning
(setq eshell-time-start (float-time))
(add-hook 'eshell-post-command-hook 'eshell-show-elapsed-time nil t)
;; after setting