]> git.eshelyaron.com Git - emacs.git/commitdiff
(reftex-toc-do-promote): Use mapc rather than mapcar.
authorGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 06:34:33 +0000 (06:34 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 06:34:33 +0000 (06:34 +0000)
lisp/textmodes/reftex-toc.el

index 4de409de70ce5b8c8f45652b6df4b005c14eae9a..ae147cc6b97057d0d3ab51e2c452548455e25e6d 100644 (file)
@@ -618,7 +618,7 @@ point."
                 nil              ; we have permission, do nothing
               (error "Abort"))   ; abort, we don't have permission
             ;; Do the changes
-            (mapcar 'reftex-toc-promote-action entries)
+            (mapc 'reftex-toc-promote-action entries)
             ;; Rescan the document and rebuilt the toc buffer
             (save-window-excursion
               (reftex-toc-Rescan))