From: Glenn Morris Date: Fri, 12 Oct 2007 06:34:33 +0000 (+0000) Subject: (reftex-toc-do-promote): Use mapc rather than mapcar. X-Git-Tag: emacs-pretest-23.0.90~10399 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17d10974d8a25ecd345ccfcbbfd25d7e39aa5209;p=emacs.git (reftex-toc-do-promote): Use mapc rather than mapcar. --- diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 4de409de70c..ae147cc6b97 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el @@ -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))