diff options
author | Glenn Morris <rgm@gnu.org> | 2013-09-18 19:28:20 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-09-18 19:28:20 -0700 |
commit | ce5033129f16b6554b922a63ef0d499ced55a223 (patch) | |
tree | adf1eef255cb344ee0a6684630bd03888d08420b /lisp/eshell/em-term.el | |
parent | a022856b0f99e19a51caff163b477f22faf6418f (diff) | |
download | emacs-ce5033129f16b6554b922a63ef0d499ced55a223.tar.gz |
Address some "unused lexical argument" warnings in eshell
* eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
Fix (f)boundp mix-up.
* eshell/em-smart.el (eshell-smart-scroll-window)
(eshell-disable-after-change):
* eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
Diffstat (limited to 'lisp/eshell/em-term.el')
-rw-r--r-- | lisp/eshell/em-term.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el index 71329f083ee..bfc810f2d2a 100644 --- a/lisp/eshell/em-term.el +++ b/lisp/eshell/em-term.el @@ -189,7 +189,8 @@ allowed." (term-set-escape-char ?\C-x)))) nil) -(defun eshell-term-sentinel (proc string) +;; Process sentinels receive two arguments. +(defun eshell-term-sentinel (proc _string) "Destroy the buffer visiting PROC." (let ((proc-buf (process-buffer proc))) (when (and proc-buf (buffer-live-p proc-buf) |