From ed5d446e77bcb4bb276cee22f7680a80b39db03e Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Mon, 29 Jan 2001 19:12:40 +0000 Subject: [PATCH] replaced require with autoloads --- lisp/ChangeLog | 7 ++++++- lisp/vc-cvs.el | 12 ++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a91f6e69116..c5811322eec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-01-29 Sam Steingold + + * vc-cvs.el: replaced (require 'vc) with a bunch of + `autoload' statements. + 2001-01-29 Eli Zaretskii * files.el (confirm-kill-emacs): Doc fix. @@ -23,7 +28,7 @@ 2001-01-29 Gerd Moellmann - * menu-bar.el (menu-bar-files-menu): Add menu items for + * menu-bar.el (menu-bar-files-menu): Add menu items for Postscript printing in black and white. * mail/rmail.el (rmail-ignored-headers): Add X-Sign, X-BeenThere, 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 -;; $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 -- 2.39.2