summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-unix.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-02 19:33:24 -0800
committerGlenn Morris <rgm@gnu.org>2018-03-02 19:33:48 -0800
commited071fa79c05e88a2ec3830c0813ed94544854b2 (patch)
tree0f806d89db9267f53713e58b4ee251b2b53143d6 /lisp/eshell/em-unix.el
parentf50598a53dfcee45a8d711abb4b542e8ed82714b (diff)
downloademacs-ed071fa79c05e88a2ec3830c0813ed94544854b2.tar.gz
Quieten eshell compilation
* lisp/eshell/em-dirs.el (eshell-dirs-initialize, eshell/pwd): * lisp/eshell/em-script.el (eshell-script-initialize): * lisp/eshell/em-unix.el (eshell/whoami): * lisp/eshell/esh-proc.el (eshell/jobs): Mark unused arguments.
Diffstat (limited to 'lisp/eshell/em-unix.el')
-rw-r--r--lisp/eshell/em-unix.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index c3448de407d..a18fb85507d 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -965,7 +965,7 @@ Show wall-clock time elapsed during execution of COMMAND.")
(eshell-stringify-list
(eshell-flatten-list (cdr time-args))))))))
-(defun eshell/whoami (&rest args)
+(defun eshell/whoami (&rest _args)
"Make \"whoami\" Tramp aware."
(or (file-remote-p default-directory 'user) (user-login-name)))