]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-rcs-find-version): Fix vc-checkout-switches use.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 Oct 2002 20:23:36 +0000 (20:23 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 Oct 2002 20:23:36 +0000 (20:23 +0000)
lisp/vc-rcs.el

index a09472f6a1c0bebdfc33c2d03b82d6352198aae9..9a4c4e89dd7afe3c4d445676290d911fac10dc28 100644 (file)
@@ -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 @@ whether to remove it."
         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."