From f88276af2ff49b6bbd9f03d6fe5cff018832ec27 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 2 Feb 2008 10:50:03 +0000 Subject: [PATCH] * net/tramp-vc.el (tramp-vc-do-command): Use `mapc' instead of `mapcar'. --- lisp/net/tramp-vc.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lisp/net/tramp-vc.el b/lisp/net/tramp-vc.el index 52e47905970..b66d74e54aa 100644 --- a/lisp/net/tramp-vc.el +++ b/lisp/net/tramp-vc.el @@ -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 ;; Keywords: comm, processes @@ -98,9 +98,8 @@ See `vc-do-command' for more information." (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))) -- 2.39.5