aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-10-08 20:23:36 +0000
committerStefan Monnier2002-10-08 20:23:36 +0000
commit831afb58a45b1a52fafd3c2341fe1e0062084ef2 (patch)
tree42e41aaa75a5ee69a44ef485647215fa6a77d956
parent1e76e7a0662fc4c011d79f37e4c6af6ca8032e84 (diff)
downloademacs-831afb58a45b1a52fafd3c2341fe1e0062084ef2.tar.gz
emacs-831afb58a45b1a52fafd3c2341fe1e0062084ef2.zip
(vc-rcs-find-version): Fix vc-checkout-switches use.
-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 @@
5;; Author: FSF (see vc.el for full credits) 5;; Author: FSF (see vc.el for full credits)
6;; Maintainer: Andre Spiegel <spiegel@gnu.org> 6;; Maintainer: Andre Spiegel <spiegel@gnu.org>
7 7
8;; $Id: vc-rcs.el,v 1.27 2002/10/04 18:38:04 monnier Exp $ 8;; $Id: vc-rcs.el,v 1.28 2002/10/08 15:33:18 monnier Exp $
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -360,7 +360,9 @@ whether to remove it."
360 buffer 0 "co" (vc-name file) 360 buffer 0 "co" (vc-name file)
361 "-q" ;; suppress diagnostic output 361 "-q" ;; suppress diagnostic output
362 (concat "-p" rev) 362 (concat "-p" rev)
363 vc-checkout-switches)) 363 (if (stringp vc-checkout-switches)
364 (list vc-checkout-switches)
365 vc-checkout-switches)))
364 366
365(defun vc-rcs-checkout (file &optional editable rev) 367(defun vc-rcs-checkout (file &optional editable rev)
366 "Retrieve a copy of a saved version of FILE." 368 "Retrieve a copy of a saved version of FILE."