summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-unix.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-05 14:29:40 -0500
committerGlenn Morris <rgm@gnu.org>2018-03-05 14:29:40 -0500
commitbcc80b8fd264352812a5bf5d11232659848cda3d (patch)
treed95cf5171c6d6c15a57f7dd7647ccee7e31222a3 /lisp/eshell/em-unix.el
parentbc85cdc16946ad2592450dd6b6ebc42be6421b05 (diff)
downloademacs-bcc80b8fd264352812a5bf5d11232659848cda3d.tar.gz
Suppress some unused lexical variable warnings in eshell
* lisp/eshell/em-tramp.el (eshell/sudo): * lisp/eshell/em-unix.el (eshell/time): * lisp/eshell/esh-var.el (eshell/env): Pretend to use "args" to quieten compiler.
Diffstat (limited to 'lisp/eshell/em-unix.el')
-rw-r--r--lisp/eshell/em-unix.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index a18fb85507d..04c517f82a0 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -956,6 +956,7 @@ 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