summaryrefslogtreecommitdiff
path: root/lisp/vc-rcs.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-10-08 20:23:36 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-10-08 20:23:36 +0000
commit831afb58a45b1a52fafd3c2341fe1e0062084ef2 (patch)
tree42e41aaa75a5ee69a44ef485647215fa6a77d956 /lisp/vc-rcs.el
parent1e76e7a0662fc4c011d79f37e4c6af6ca8032e84 (diff)
downloademacs-831afb58a45b1a52fafd3c2341fe1e0062084ef2.tar.gz
(vc-rcs-find-version): Fix vc-checkout-switches use.
Diffstat (limited to 'lisp/vc-rcs.el')
-rw-r--r--lisp/vc-rcs.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el
index a09472f6a1c..9a4c4e89dd7 100644
--- a/lisp/vc-rcs.el
+++ b/lisp/vc-rcs.el
@@ -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."