changeset 85184:025303f3b74d

(vc-mcvs-checkin): Use mapc rather than mapcar.
author Glenn Morris <rgm@gnu.org>
date Fri, 12 Oct 2007 03:01:13 +0000
parents d18b96e2d51f
children 264b4ccf31a8
files lisp/vc-mcvs.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-mcvs.el	Fri Oct 12 03:00:05 2007 +0000
+++ b/lisp/vc-mcvs.el	Fri Oct 12 03:01:13 2007 +0000
@@ -277,8 +277,8 @@
       ;; be applied just to this one file.
       (apply 'vc-mcvs-command nil 0 files "tag" "-b" (list rev))
       (apply 'vc-mcvs-command nil 0 files "update" "-r" (list rev))
-      (mapcar (lambda (file) (vc-file-setprop file 'vc-mcvs-sticky-tag rev))
-	      files)
+      (mapc (lambda (file) (vc-file-setprop file 'vc-mcvs-sticky-tag rev))
+	    files)
       (setq rev nil)))
   ;; This commit might cvs-commit several files (e.g. MAP and TYPES)
   ;; so using numbered revs here is dangerous and somewhat meaningless.
@@ -292,7 +292,7 @@
       ;; Check checkin problem.
       (cond
        ((re-search-forward "Up-to-date check failed" nil t)
-	(mapcar (lambda (file) (vc-file-setprop file 'vc-state 'needs-merge))
+	(mapc (lambda (file) (vc-file-setprop file 'vc-state 'needs-merge))
 	      files)
         (error (substitute-command-keys
                 (concat "Up-to-date check failed: "