summaryrefslogtreecommitdiff
path: root/lisp/vc-cvs.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2001-01-29 19:12:40 +0000
committerSam Steingold <sds@gnu.org>2001-01-29 19:12:40 +0000
commited5d446e77bcb4bb276cee22f7680a80b39db03e (patch)
tree842721b1d4e8e7675c19a787a807295f9454502a /lisp/vc-cvs.el
parentd30e6710ecd155aad24f4af5829c3b25970c8121 (diff)
downloademacs-ed5d446e77bcb4bb276cee22f7680a80b39db03e.tar.gz
emacs-ed5d446e77bcb4bb276cee22f7680a80b39db03e.tar.bz2
emacs-ed5d446e77bcb4bb276cee22f7680a80b39db03e.zip
replaced require with autoloads
Diffstat (limited to 'lisp/vc-cvs.el')
-rw-r--r--lisp/vc-cvs.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index 915a434a527..756dd91f73c 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -5,7 +5,7 @@
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
-;; $Id: vc-cvs.el,v 1.16 2001/01/25 16:36:48 sds Exp $
+;; $Id: vc-cvs.el,v 1.17 2001/01/25 21:02:37 sds Exp $
;; This file is part of GNU Emacs.
@@ -28,7 +28,15 @@
;;; Code:
-(require 'vc)
+(eval-when-compile
+ ;; keep the compiler happy
+ ;; note that there is another option: (require 'vc)
+ (defvar vc-register-switches) ; defined in "vc.el", used in `vc-cvs-register'
+ (defvar vc-checkin-switches) ; defined in "vc.el", used in `vc-cvs-checkin'
+ (defvar vc-checkout-switches) ; defined in "vc.el", used in `vc-cvs-checkout'
+ (autoload 'vc-do-command "vc") ; used all over the place
+ (autoload 'vc-trunk-p "vc") ; used in `vc-cvs-checkin'
+ (autoload 'vc-resynch-buffer "vc")) ; used in `vc-cvs-retrieve-snapshot'
;;;
;;; Customization options