]> git.eshelyaron.com Git - emacs.git/commitdiff
Quieten eshell compilation
authorGlenn Morris <rgm@gnu.org>
Sat, 3 Mar 2018 03:33:24 +0000 (19:33 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 3 Mar 2018 03:33:48 +0000 (19:33 -0800)
* 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.

lisp/eshell/em-dirs.el
lisp/eshell/em-script.el
lisp/eshell/em-unix.el
lisp/eshell/esh-proc.el

index 37cb6b169a04b4834461c5964823ff75959b659b..34bf821c1199300c23c649b1e6adf09c2454f765 100644 (file)
@@ -207,7 +207,7 @@ Thus, this does not include the current directory.")
   (when eshell-cd-on-directory
     (make-local-variable 'eshell-interpreter-alist)
     (setq eshell-interpreter-alist
-         (cons (cons #'(lambda (file args)
+         (cons (cons #'(lambda (file _args)
                           (eshell-lone-directory-p file))
                      'eshell-dirs-substitute-cd)
                eshell-interpreter-alist)))
@@ -300,7 +300,7 @@ Thus, this does not include the current directory.")
                    (file-name-as-directory (cdr user))))
                 eshell-user-names)))))))
 
-(defun eshell/pwd (&rest args)
+(defun eshell/pwd (&rest _args)
   "Change output from `pwd' to be cleaner."
   (let* ((path default-directory)
         (len (length path)))
index 1b0b220d5bca83bcc28fe5335ac0a0dacb29b19d..a5d8e96ba843ae739955e36c337ef479a152a3a5 100644 (file)
@@ -61,7 +61,7 @@ This includes when running `eshell-command'."
   "Initialize the script parsing code."
   (make-local-variable 'eshell-interpreter-alist)
   (setq eshell-interpreter-alist
-       (cons (cons #'(lambda (file args)
+       (cons (cons #'(lambda (file _args)
                         (string= (file-name-nondirectory file)
                                  "eshell"))
                     'eshell/source)
index c3448de407db7c400ba8b1d9db8e46a2bb79ad62..a18fb85507df2803529187f73cf1e9da06866108 100644 (file)
@@ -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)))
 
index 59fb9b926d454a32e8d5e848520dd909f7839ed1..f1380852b3b99914d77c867d3a58d1faf276fc9b 100644 (file)
@@ -158,7 +158,7 @@ The signals which will cause this to happen are matched by
 
 (defalias 'eshell/wait 'eshell-wait-for-process)
 
-(defun eshell/jobs (&rest args)
+(defun eshell/jobs (&rest _args)
   "List processes, if there are any."
   (and (fboundp 'process-list)
        (process-list)