summaryrefslogtreecommitdiff
path: root/lisp/textmodes/reftex-ref.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-10-12 06:37:58 +0000
committerGlenn Morris <rgm@gnu.org>2007-10-12 06:37:58 +0000
commitfe2ca5ece2678c45c9643f7b062746665980f40d (patch)
tree0cf15b2acaae8962fa363daf0f1cc1e238147194 /lisp/textmodes/reftex-ref.el
parent91529f3d15ee48227884b0e9be93b485765b0828 (diff)
downloademacs-fe2ca5ece2678c45c9643f7b062746665980f40d.tar.gz
(reftex-offer-label-menu): Use mapc rather than mapcar.
Diffstat (limited to 'lisp/textmodes/reftex-ref.el')
-rw-r--r--lisp/textmodes/reftex-ref.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el
index 3294c4c22a9..c004602757c 100644
--- a/lisp/textmodes/reftex-ref.el
+++ b/lisp/textmodes/reftex-ref.el
@@ -665,10 +665,10 @@ When called with 2 C-u prefix args, disable magic word recognition."
(save-excursion
(while reftex-buffers-with-changed-invisibility
(set-buffer (car (car reftex-buffers-with-changed-invisibility)))
- (setq buffer-invisibility-spec
+ (setq buffer-invisibility-spec
(cdr (pop reftex-buffers-with-changed-invisibility)))))
- (mapcar (lambda (buf) (and (buffer-live-p buf) (bury-buffer buf)))
- selection-buffers)
+ (mapc (lambda (buf) (and (buffer-live-p buf) (bury-buffer buf)))
+ selection-buffers)
(reftex-kill-temporary-buffers))
;; Add the prefixes, put together the relevant information in the form
;; (LABEL TYPEKEY SEPARATOR) and return a list of those.