changeset 78158:8dcc6f809d32

Add more info about the vc-registered function.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 17 Jul 2007 04:48:56 +0000
parents 89953ba5bfec
children 639d3d9bce58
files lisp/ChangeLog lisp/vc.el
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jul 16 10:43:34 2007 +0000
+++ b/lisp/ChangeLog	Tue Jul 17 04:48:56 2007 +0000
@@ -1,3 +1,7 @@
+2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* vc.el: Add more info about the vc-registered function.
+
 2007-07-16  David Kastrup  <dak@gnu.org>
 
 	* emacs-lisp/advice.el (defadvice): Doc fix.
--- a/lisp/vc.el	Mon Jul 16 10:43:34 2007 +0000
+++ b/lisp/vc.el	Tue Jul 17 04:48:56 2007 +0000
@@ -106,8 +106,12 @@
 ;; * registered (file)
 ;;
 ;;   Return non-nil if FILE is registered in this backend.  Both this
-;;   function as well as `state' should be careful to fail gracefully in the
-;;   event that the backend executable is absent.
+;;   function as well as `state' should be careful to fail gracefully
+;;   in the event that the backend executable is absent.  It is
+;;   preferable that this function's body is autoloaded, that way only
+;;   calling vc-registered does not cause the backend to be loaded
+;;   (all the vc-FOO-registered functions are called to try to find
+;;   the controlling backend for FILE.
 ;;
 ;; * state (file)
 ;;