Commit 12fcd25a authored by Glenn Morris's avatar Glenn Morris
Browse files

(vc-sccs-register-switches): Doc fix. Add t as option.

(vc-sccs-register): Doc fix.
parent 1e55ee73
...@@ -45,14 +45,14 @@ ...@@ -45,14 +45,14 @@
;; :group 'vc) ;; :group 'vc)
(defcustom vc-sccs-register-switches nil (defcustom vc-sccs-register-switches nil
"Extra switches for registering a file in SCCS. "Switches for registering a file in SCCS.
A string or list of strings passed to the checkin program by A string or list of strings passed to the checkin program by
\\[vc-sccs-register]." \\[vc-register]. If nil, use the value of `vc-register-switches'.
:type '(choice (const :tag "None" nil) If t, use no switches."
:type '(choice (const :tag "Unspecified" nil)
(const :tag "None" t)
(string :tag "Argument String") (string :tag "Argument String")
(repeat :tag "Argument List" (repeat :tag "Argument List" :value ("") string))
:value ("")
string))
:version "21.1" :version "21.1"
:group 'vc) :group 'vc)
...@@ -198,14 +198,12 @@ For a description of possible values, see `vc-check-master-templates'." ...@@ -198,14 +198,12 @@ For a description of possible values, see `vc-check-master-templates'."
;; SCCS is totally file-oriented, so all we have to do is make the directory ;; SCCS is totally file-oriented, so all we have to do is make the directory
(make-directory "SCCS")) (make-directory "SCCS"))
;; FIXME doc is wrong re switches.
(defun vc-sccs-register (files &optional rev comment) (defun vc-sccs-register (files &optional rev comment)
"Register FILES into the SCCS version-control system. "Register FILES into the SCCS version-control system.
REV is the optional revision number for the file. COMMENT can be used REV is the optional revision number for the file. COMMENT can be used
to provide an initial description of FILES. to provide an initial description of FILES.
Passes either `vc-sccs-register-switches' or `vc-register-switches'
`vc-register-switches' and `vc-sccs-register-switches' are passed to to the SCCS command.
the SCCS command (in that order).
Automatically retrieve a read-only version of the files with keywords Automatically retrieve a read-only version of the files with keywords
expanded if `vc-keep-workfiles' is non-nil, otherwise, delete the workfile." expanded if `vc-keep-workfiles' is non-nil, otherwise, delete the workfile."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment