]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-mcvs-checkin): Use mapc rather than mapcar.
authorGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 03:01:13 +0000 (03:01 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 03:01:13 +0000 (03:01 +0000)
lisp/vc-mcvs.el

index 6df12202c03c49ec39ec5534d47cf40abce2a221..aa99e3f4273f676ee8662b427f694f366e74c8b0 100644 (file)
@@ -277,8 +277,8 @@ This is only possible if Meta-CVS is responsible for FILE's directory.")
       ;; 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 @@ This is only possible if Meta-CVS is responsible for FILE's directory.")
       ;; 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: "