]> git.eshelyaron.com Git - emacs.git/commitdiff
(reftex-offer-label-menu): Use mapc rather than mapcar.
authorGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 06:37:58 +0000 (06:37 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 06:37:58 +0000 (06:37 +0000)
lisp/textmodes/reftex-ref.el

index 3294c4c22a9d9d0c149fb19c80b9cbad192e6410..c004602757c21f8b8d01feee341263f70c553403 100644 (file)
@@ -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.