]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-branch-part): Add autoload cookie. This function can
authorGerd Moellmann <gerd@gnu.org>
Wed, 6 Mar 2002 13:51:28 +0000 (13:51 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 6 Mar 2002 13:51:28 +0000 (13:51 +0000)
be called from vc-rcs-find-most-recent-rev when visiting a file
checked into RCS in a CVS sandbox.

lisp/vc.el

index 60a6a07e94321beb599cd7d10ab8f58f69e12bd2..648deb72b52304951818567c8afb192d46a2d604 100644 (file)
@@ -6,7 +6,7 @@
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 ;; Keywords: tools
 
-;; $Id: vc.el,v 1.329 2002/02/28 13:01:48 spiegel Exp $
+;; $Id: vc.el,v 1.330 2002/03/05 13:14:11 spiegel Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -698,6 +698,7 @@ The keys are \(BUFFER . BACKEND\).  See also `vc-annotate-get-backend'.")
   "Return t if REV is a branch revision."
   (not (eq nil (string-match "\\`[0-9]+\\(\\.[0-9]+\\.[0-9]+\\)*\\'" rev))))
 
+;;;###autoload
 (defun vc-branch-part (rev)
   "Return the branch part of a revision number REV."
   (let ((index (string-match "\\.[0-9]+\\'" rev)))