diff options
| author | Glenn Morris | 2008-12-04 07:00:43 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-12-04 07:00:43 +0000 |
| commit | e5c741d9e2a3db3f659590b50652a1c53a6f0f92 (patch) | |
| tree | f96b5a5fa19a272623f0a755952656a8000714cd | |
| parent | 8bfbd1327ba950e6d16f76aa5681e21a52e148ff (diff) | |
| download | emacs-e5c741d9e2a3db3f659590b50652a1c53a6f0f92.tar.gz emacs-e5c741d9e2a3db3f659590b50652a1c53a6f0f92.zip | |
(vc-cvs-register-switches): Doc fix. Add t as option.
(vc-cvs-register): Doc fix.
| -rw-r--r-- | lisp/vc-cvs.el | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index a73d9a69022..fec6e2f7a58 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el | |||
| @@ -70,14 +70,14 @@ | |||
| 70 | :group 'vc) | 70 | :group 'vc) |
| 71 | 71 | ||
| 72 | (defcustom vc-cvs-register-switches nil | 72 | (defcustom vc-cvs-register-switches nil |
| 73 | "Extra switches for registering a file into CVS. | 73 | "Switches for registering a file into CVS. |
| 74 | A string or list of strings passed to the checkin program by | 74 | A string or list of strings passed to the checkin program by |
| 75 | \\[vc-register]." | 75 | \\[vc-register]. If nil, use the value of `vc-register-switches'. |
| 76 | :type '(choice (const :tag "None" nil) | 76 | If t, use no switches." |
| 77 | :type '(choice (const :tag "Unspecified" nil) | ||
| 78 | (const :tag "None" t) | ||
| 77 | (string :tag "Argument String") | 79 | (string :tag "Argument String") |
| 78 | (repeat :tag "Argument List" | 80 | (repeat :tag "Argument List" :value ("") string)) |
| 79 | :value ("") | ||
| 80 | string)) | ||
| 81 | :version "21.1" | 81 | :version "21.1" |
| 82 | :group 'vc) | 82 | :group 'vc) |
| 83 | 83 | ||
| @@ -273,13 +273,11 @@ committed and support display of sticky tags." | |||
| 273 | ;;; State-changing functions | 273 | ;;; State-changing functions |
| 274 | ;;; | 274 | ;;; |
| 275 | 275 | ||
| 276 | ;; FIXME doc is wrong re switches. | ||
| 277 | (defun vc-cvs-register (files &optional rev comment) | 276 | (defun vc-cvs-register (files &optional rev comment) |
| 278 | "Register FILES into the CVS version-control system. | 277 | "Register FILES into the CVS version-control system. |
| 279 | COMMENT can be used to provide an initial description of FILES. | 278 | COMMENT can be used to provide an initial description of FILES. |
| 280 | 279 | Passes either `vc-cvs-register-switches' or `vc-register-switches' | |
| 281 | `vc-register-switches' and `vc-cvs-register-switches' are passed to | 280 | to the CVS command." |
| 282 | the CVS command (in that order)." | ||
| 283 | ;; Register the directories if needed. | 281 | ;; Register the directories if needed. |
| 284 | (let (dirs) | 282 | (let (dirs) |
| 285 | (dolist (file files) | 283 | (dolist (file files) |