[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp vc-cvs.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/lisp vc-cvs.el |
Date: |
Thu, 04 Dec 2008 07:00:45 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 08/12/04 07:00:45
Modified files:
lisp : vc-cvs.el
Log message:
(vc-cvs-register-switches): Doc fix. Add t as option.
(vc-cvs-register): Doc fix.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/vc-cvs.el?cvsroot=emacs&r1=1.160&r2=1.161
Patches:
Index: vc-cvs.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-cvs.el,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -b -r1.160 -r1.161
--- vc-cvs.el 3 Dec 2008 07:43:33 -0000 1.160
+++ vc-cvs.el 4 Dec 2008 07:00:43 -0000 1.161
@@ -70,14 +70,14 @@
:group 'vc)
(defcustom vc-cvs-register-switches nil
- "Extra switches for registering a file into CVS.
+ "Switches for registering a file into CVS.
A string or list of strings passed to the checkin program by
-\\[vc-register]."
- :type '(choice (const :tag "None" nil)
+\\[vc-register]. If nil, use the value of `vc-register-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)
@@ -273,13 +273,11 @@
;;; State-changing functions
;;;
-;; FIXME doc is wrong re switches.
(defun vc-cvs-register (files &optional rev comment)
"Register FILES into the CVS version-control system.
COMMENT can be used to provide an initial description of FILES.
-
-`vc-register-switches' and `vc-cvs-register-switches' are passed to
-the CVS command (in that order)."
+Passes either `vc-cvs-register-switches' or `vc-register-switches'
+to the CVS command."
;; Register the directories if needed.
(let (dirs)
(dolist (file files)