summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-pred.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-17 21:48:00 -0400
committerGlenn Morris <rgm@gnu.org>2013-09-17 21:48:00 -0400
commit49a053fc5b27c7d1a32c42301fc66657dfc396ae (patch)
treecdea9c4b74ae44743f76c0ea43f906b9bed9b9c0 /lisp/eshell/em-pred.el
parent35cc47373edddb3642a8486b3052f6530ab9a778 (diff)
downloademacs-49a053fc5b27c7d1a32c42301fc66657dfc396ae.tar.gz
Address some "unused lexical variable" warnings
* lisp/dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare. * lisp/eshell/esh-io.el (x-select-enable-clipboard): Declare. * lisp/erc/erc-button.el (erc-button-add-buttons): * lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): * lisp/eshell/em-hist.el (eshell/history, eshell-isearch-backward): * lisp/eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time): Remove unused local variables.
Diffstat (limited to 'lisp/eshell/em-pred.el')
-rw-r--r--lisp/eshell/em-pred.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el
index f7d7605107f..a3aebc23faa 100644
--- a/lisp/eshell/em-pred.el
+++ b/lisp/eshell/em-pred.el
@@ -306,7 +306,7 @@ predicate functions. MOD-FUNC-LIST is a list of result modifier
functions. PRED-FUNCS take a filename and return t if the test
succeeds; MOD-FUNCS take any string and preform a modification,
returning the resultant string."
- (let (result negate follow preds mods)
+ (let (negate follow preds mods)
(condition-case nil
(while (not (eobp))
(let ((char (char-after)))
@@ -399,7 +399,7 @@ returning the resultant string."
(defun eshell-pred-file-time (mod-char mod-type attr-index)
"Return a predicate to test whether a file matches a certain time."
(let* ((quantum 86400)
- qual amount when open close end)
+ qual when open close end)
(when (memq (char-after) '(?M ?w ?h ?m ?s))
(setq quantum (char-after))
(cond