Mercurial > emacs
changeset 62610:4f2f430bf7c3
(vc-trunk-p): Add autoload cookie. The function is used in vc-rcs.el
when vc-mistrust-permissions is t, which is not the default.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Sun, 22 May 2005 10:51:32 +0000 |
parents | 7697a63a3716 |
children | 093b4f5714c8 |
files | lisp/vc.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc.el Sun May 22 10:38:08 2005 +0000 +++ b/lisp/vc.el Sun May 22 10:51:32 2005 +0000 @@ -46,7 +46,8 @@ ;; This mode is fully documented in the Emacs user's manual. ;; -;; Supported version-control systems presently include SCCS, RCS, and CVS. +;; Supported version-control systems presently include CVS, RCS, GNU Arch, +;; Subversion, Meta-CVS, and SCCS (or its free replacement, CSSC). ;; ;; Some features will not work with old RCS versions. Where ;; appropriate, VC finds out which version you have, and allows or @@ -68,7 +69,7 @@ ;; ;; The vc code maintains some internal state in order to reduce expensive ;; version-control operations to a minimum. Some names are only computed -;; once. If you perform version control operations with RCS/SCCS/CVS while +;; once. If you perform version control operations with the backend while ;; vc's back is turned, or move/rename master files while vc is running, ;; vc may get seriously confused. Don't do these things! ;; @@ -737,6 +738,7 @@ ;; functions that operate on RCS revision numbers. This code should ;; also be moved into the backends. It stays for now, however, since ;; it is used in code below. +;;;###autoload (defun vc-trunk-p (rev) "Return t if REV is a revision on the trunk." (not (eq nil (string-match "\\`[0-9]+\\.[0-9]+\\'" rev))))