summaryrefslogtreecommitdiff
path: root/lisp/ibuffer.el
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2016-07-11 11:30:48 +0900
committerTino Calancha <tino.calancha@gmail.com>2016-07-11 11:30:48 +0900
commit8dc4626a0bd13b8d256a9d0c44e321d2c3d702d7 (patch)
treedfa908b6c8acd66a4ecb315892696bf7420b9a33 /lisp/ibuffer.el
parent244754e2b26f5790e96468ee710375e5ab314087 (diff)
downloademacs-8dc4626a0bd13b8d256a9d0c44e321d2c3d702d7.tar.gz
emacs-8dc4626a0bd13b8d256a9d0c44e321d2c3d702d7.tar.bz2
emacs-8dc4626a0bd13b8d256a9d0c44e321d2c3d702d7.zip
Avoid 'unused var' 'not left unused var' warnings
* lisp/ibuffer.el (ibuffer-locked-buffer-p): Remove unused var 'char'. Rename used var '_buffer' to 'cbuffer'. * lisp/ibuf-ext.el (ibuffer-unmark-all): Rename used var '_mark' to cmark'.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r--lisp/ibuffer.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 37f72bc1aaa..8e246297ff7 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -1348,8 +1348,8 @@ With optional ARG, make read-only only if ARG is not negative."
t)))
((not (char-equal mark ?\r))
(ibuffer-map-lines
- (lambda (_buf _mark)
- (when (char-equal _mark mark)
+ (lambda (_buf cmark)
+ (when (char-equal cmark mark)
(ibuffer-set-mark-1 ?\s))
t)))
(t