Mercurial > emacs
diff lisp/vc-rcs.el @ 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 | d0555af982c8 |
children | b05233e8524d |
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."