diff options
| author | Glenn Morris | 2018-03-02 19:33:24 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-03-02 19:33:48 -0800 |
| commit | ed071fa79c05e88a2ec3830c0813ed94544854b2 (patch) | |
| tree | 0f806d89db9267f53713e58b4ee251b2b53143d6 | |
| parent | f50598a53dfcee45a8d711abb4b542e8ed82714b (diff) | |
| download | emacs-ed071fa79c05e88a2ec3830c0813ed94544854b2.tar.gz emacs-ed071fa79c05e88a2ec3830c0813ed94544854b2.zip | |
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.
| -rw-r--r-- | lisp/eshell/em-dirs.el | 4 | ||||
| -rw-r--r-- | lisp/eshell/em-script.el | 2 | ||||
| -rw-r--r-- | lisp/eshell/em-unix.el | 2 | ||||
| -rw-r--r-- | lisp/eshell/esh-proc.el | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el index 37cb6b169a0..34bf821c119 100644 --- a/lisp/eshell/em-dirs.el +++ b/lisp/eshell/em-dirs.el | |||
| @@ -207,7 +207,7 @@ Thus, this does not include the current directory.") | |||
| 207 | (when eshell-cd-on-directory | 207 | (when eshell-cd-on-directory |
| 208 | (make-local-variable 'eshell-interpreter-alist) | 208 | (make-local-variable 'eshell-interpreter-alist) |
| 209 | (setq eshell-interpreter-alist | 209 | (setq eshell-interpreter-alist |
| 210 | (cons (cons #'(lambda (file args) | 210 | (cons (cons #'(lambda (file _args) |
| 211 | (eshell-lone-directory-p file)) | 211 | (eshell-lone-directory-p file)) |
| 212 | 'eshell-dirs-substitute-cd) | 212 | 'eshell-dirs-substitute-cd) |
| 213 | eshell-interpreter-alist))) | 213 | eshell-interpreter-alist))) |
| @@ -300,7 +300,7 @@ Thus, this does not include the current directory.") | |||
| 300 | (file-name-as-directory (cdr user)))) | 300 | (file-name-as-directory (cdr user)))) |
| 301 | eshell-user-names))))))) | 301 | eshell-user-names))))))) |
| 302 | 302 | ||
| 303 | (defun eshell/pwd (&rest args) | 303 | (defun eshell/pwd (&rest _args) |
| 304 | "Change output from `pwd' to be cleaner." | 304 | "Change output from `pwd' to be cleaner." |
| 305 | (let* ((path default-directory) | 305 | (let* ((path default-directory) |
| 306 | (len (length path))) | 306 | (len (length path))) |
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el index 1b0b220d5bc..a5d8e96ba84 100644 --- a/lisp/eshell/em-script.el +++ b/lisp/eshell/em-script.el | |||
| @@ -61,7 +61,7 @@ This includes when running `eshell-command'." | |||
| 61 | "Initialize the script parsing code." | 61 | "Initialize the script parsing code." |
| 62 | (make-local-variable 'eshell-interpreter-alist) | 62 | (make-local-variable 'eshell-interpreter-alist) |
| 63 | (setq eshell-interpreter-alist | 63 | (setq eshell-interpreter-alist |
| 64 | (cons (cons #'(lambda (file args) | 64 | (cons (cons #'(lambda (file _args) |
| 65 | (string= (file-name-nondirectory file) | 65 | (string= (file-name-nondirectory file) |
| 66 | "eshell")) | 66 | "eshell")) |
| 67 | 'eshell/source) | 67 | 'eshell/source) |
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.") | |||
| 965 | (eshell-stringify-list | 965 | (eshell-stringify-list |
| 966 | (eshell-flatten-list (cdr time-args)))))))) | 966 | (eshell-flatten-list (cdr time-args)))))))) |
| 967 | 967 | ||
| 968 | (defun eshell/whoami (&rest args) | 968 | (defun eshell/whoami (&rest _args) |
| 969 | "Make \"whoami\" Tramp aware." | 969 | "Make \"whoami\" Tramp aware." |
| 970 | (or (file-remote-p default-directory 'user) (user-login-name))) | 970 | (or (file-remote-p default-directory 'user) (user-login-name))) |
| 971 | 971 | ||
diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index 59fb9b926d4..f1380852b3b 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el | |||
| @@ -158,7 +158,7 @@ The signals which will cause this to happen are matched by | |||
| 158 | 158 | ||
| 159 | (defalias 'eshell/wait 'eshell-wait-for-process) | 159 | (defalias 'eshell/wait 'eshell-wait-for-process) |
| 160 | 160 | ||
| 161 | (defun eshell/jobs (&rest args) | 161 | (defun eshell/jobs (&rest _args) |
| 162 | "List processes, if there are any." | 162 | "List processes, if there are any." |
| 163 | (and (fboundp 'process-list) | 163 | (and (fboundp 'process-list) |
| 164 | (process-list) | 164 | (process-list) |