changeset 80005:02b15b3223ca

* net/tramp-vc.el (tramp-vc-do-command): Use `mapc' instead of `mapcar'.
author Michael Albinus <michael.albinus@gmx.de>
date Sat, 02 Feb 2008 10:50:03 +0000
parents f5cb921ec99c
children f742658c08d0
files lisp/net/tramp-vc.el
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp-vc.el	Sat Feb 02 10:49:10 2008 +0000
+++ b/lisp/net/tramp-vc.el	Sat Feb 02 10:50:03 2008 +0000
@@ -1,7 +1,7 @@
 ;;; tramp-vc.el --- Version control integration for TRAMP.el
 
-;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+;;   2007, 2008 Free Software Foundation, Inc.
 
 ;; Author: Daniel Pittman <daniel@danann.net>
 ;; Keywords: comm, processes
@@ -98,9 +98,8 @@
 
 	(erase-buffer)
 
-	(mapcar
-	 (function
-	  (lambda (s) (and s (setq squeezed (append squeezed (list s))))))
+	(mapc
+	 (lambda (s) (and s (setq squeezed (append squeezed (list s)))))
 	 flags)
 	(if (and (eq last 'MASTER) file
 		 (setq vc-file (vc-name file)))