changeset 100183:0cc235691369

(vc-rcs-diff-switches): Doc fix. Add t as option.
author Glenn Morris <rgm@gnu.org>
date Wed, 03 Dec 2008 07:39:20 +0000
parents 880b72ca5f06
children c3cf5c74dfe1
files lisp/vc-rcs.el
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-rcs.el	Wed Dec 03 07:38:45 2008 +0000
+++ b/lisp/vc-rcs.el	Wed Dec 03 07:39:20 2008 +0000
@@ -1,13 +1,12 @@
 ;;; vc-rcs.el --- support for RCS version-control
 
 ;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-;;   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;;   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+;;   Free Software Foundation, Inc.
 
 ;; Author:     FSF (see vc.el for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id$
-
 ;; This file is part of GNU Emacs.
 
 ;; GNU Emacs is free software: you can redistribute it and/or modify
@@ -58,12 +57,12 @@
   :group 'vc)
 
 (defcustom vc-rcs-diff-switches nil
-  "A string or list of strings specifying extra switches for rcsdiff under VC."
-  :type '(choice (const :tag "None" nil)
+  "String or list of strings specifying switches for RCS diff under VC.
+If nil, use the value of `vc-diff-switches'.  If t, use no switches."
+  :type '(choice (const :tag "Unspecified" nil)
+                 (const :tag "None" t)
 		 (string :tag "Argument String")
-		 (repeat :tag "Argument List"
-			 :value ("")
-			 string))
+		 (repeat :tag "Argument List" :value ("") string))
   :version "21.1"
   :group 'vc)
 
@@ -266,6 +265,7 @@
   ;; RCS is totally file-oriented, so all we have to do is make the directory
   (make-directory "RCS"))
 
+;; FIXME doc is wrong re switches.
 (defun vc-rcs-register (files &optional rev comment)
   "Register FILES into the RCS version-control system.
 REV is the optional revision number for the files.  COMMENT can be used