[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp vc-sccs.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/lisp vc-sccs.el |
Date: |
Thu, 04 Dec 2008 07:02:21 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 08/12/04 07:02:21
Modified files:
lisp : vc-sccs.el
Log message:
(vc-sccs-register-switches): Doc fix. Add t as option.
(vc-sccs-register): Doc fix.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/vc-sccs.el?cvsroot=emacs&r1=1.60&r2=1.61
Patches:
Index: vc-sccs.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-sccs.el,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- vc-sccs.el 3 Dec 2008 07:40:53 -0000 1.60
+++ vc-sccs.el 4 Dec 2008 07:02:21 -0000 1.61
@@ -45,14 +45,14 @@
;; :group 'vc)
(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
-\\[vc-sccs-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)
@@ -198,14 +198,12 @@
;; SCCS is totally file-oriented, so all we have to do is make the directory
(make-directory "SCCS"))
-;; FIXME doc is wrong re switches.
(defun vc-sccs-register (files &optional rev comment)
"Register FILES into the SCCS version-control system.
REV is the optional revision number for the file. COMMENT can be used
to provide an initial description of FILES.
-
-`vc-register-switches' and `vc-sccs-register-switches' are passed to
-the SCCS command (in that order).
+Passes either `vc-sccs-register-switches' or `vc-register-switches'
+to the SCCS command.
Automatically retrieve a read-only version of the files with keywords
expanded if `vc-keep-workfiles' is non-nil, otherwise, delete the workfile."