diff options
| author | Glenn Morris | 2008-12-04 07:01:56 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-12-04 07:01:56 +0000 |
| commit | 1e55ee73561ea91682510bca3f0062e6c1976375 (patch) | |
| tree | 0e0a31cdea717a3935c6699ed50377998a360c3d | |
| parent | 891eb9c48612b128dad0f370bbc0e4c75b96615f (diff) | |
| download | emacs-1e55ee73561ea91682510bca3f0062e6c1976375.tar.gz emacs-1e55ee73561ea91682510bca3f0062e6c1976375.zip | |
(vc-rcs-register-switches): Doc fix. Add t as option.
(vc-rcs-register): Doc fix.
| -rw-r--r-- | lisp/vc-rcs.el | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el index 0d9329fe506..cb631ab2539 100644 --- a/lisp/vc-rcs.el +++ b/lisp/vc-rcs.el | |||
| @@ -45,14 +45,14 @@ If nil, VC itself computes this value when it is first needed." | |||
| 45 | :group 'vc) | 45 | :group 'vc) |
| 46 | 46 | ||
| 47 | (defcustom vc-rcs-register-switches nil | 47 | (defcustom vc-rcs-register-switches nil |
| 48 | "Extra switches for registering a file in RCS. | 48 | "Switches for registering a file in RCS. |
| 49 | A string or list of strings. These are passed to the checkin program | 49 | A string or list of strings passed to the checkin program by |
| 50 | by \\[vc-rcs-register]." | 50 | \\[vc-register]. If nil, use the value of `vc-register-switches'. |
| 51 | :type '(choice (const :tag "None" nil) | 51 | If t, use no switches." |
| 52 | :type '(choice (const :tag "Unspecified" nil) | ||
| 53 | (const :tag "None" t) | ||
| 52 | (string :tag "Argument String") | 54 | (string :tag "Argument String") |
| 53 | (repeat :tag "Argument List" | 55 | (repeat :tag "Argument List" :value ("") string)) |
| 54 | :value ("") | ||
| 55 | string)) | ||
| 56 | :version "21.1" | 56 | :version "21.1" |
| 57 | :group 'vc) | 57 | :group 'vc) |
| 58 | 58 | ||
| @@ -262,17 +262,15 @@ When VERSION is given, perform check for that version." | |||
| 262 | 262 | ||
| 263 | (defun vc-rcs-create-repo () | 263 | (defun vc-rcs-create-repo () |
| 264 | "Create a new RCS repository." | 264 | "Create a new RCS repository." |
| 265 | ;; RCS is totally file-oriented, so all we have to do is make the directory | 265 | ;; RCS is totally file-oriented, so all we have to do is make the directory. |
| 266 | (make-directory "RCS")) | 266 | (make-directory "RCS")) |
| 267 | 267 | ||
| 268 | ;; FIXME doc is wrong re switches. | ||
| 269 | (defun vc-rcs-register (files &optional rev comment) | 268 | (defun vc-rcs-register (files &optional rev comment) |
| 270 | "Register FILES into the RCS version-control system. | 269 | "Register FILES into the RCS version-control system. |
| 271 | REV is the optional revision number for the files. COMMENT can be used | 270 | REV is the optional revision number for the files. COMMENT can be used |
| 272 | to provide an initial description for each FILES. | 271 | to provide an initial description for each FILES. |
| 273 | 272 | Passes either `vc-rcs-register-switches' or `vc-register-switches' | |
| 274 | `vc-register-switches' and `vc-rcs-register-switches' are passed to | 273 | to the RCS command. |
| 275 | the RCS command (in that order). | ||
| 276 | 274 | ||
| 277 | Automatically retrieve a read-only version of the file with keywords | 275 | Automatically retrieve a read-only version of the file with keywords |
| 278 | expanded if `vc-keep-workfiles' is non-nil, otherwise, delete the workfile." | 276 | expanded if `vc-keep-workfiles' is non-nil, otherwise, delete the workfile." |