changeset 47805:81b51b0d6e66

(vc-rcs-find-version): Fix vc-checkout-switches use.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 08 Oct 2002 20:23:36 +0000
parents e635ea5fd015
children 10d173c975ef
files lisp/vc-rcs.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-rcs.el	Tue Oct 08 20:08:55 2002 +0000
+++ b/lisp/vc-rcs.el	Tue Oct 08 20:23:36 2002 +0000
@@ -5,7 +5,7 @@
 ;; Author:     FSF (see vc.el for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id: vc-rcs.el,v 1.27 2002/10/04 18:38:04 monnier Exp $
+;; $Id: vc-rcs.el,v 1.28 2002/10/08 15:33:18 monnier Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -360,7 +360,9 @@
 	 buffer 0 "co" (vc-name file)
 	 "-q" ;; suppress diagnostic output
 	 (concat "-p" rev)
-	 vc-checkout-switches))
+	 (if (stringp vc-checkout-switches)
+	     (list vc-checkout-switches)
+	   vc-checkout-switches)))
 
 (defun vc-rcs-checkout (file &optional editable rev)
   "Retrieve a copy of a saved version of FILE."