diff options
author | Sam Steingold <sds@gnu.org> | 2001-01-29 19:12:40 +0000 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2001-01-29 19:12:40 +0000 |
commit | abb381a2417249855bede616ae426e0c65328b2d (patch) | |
tree | ff4eda49cc0bdcf84c5f3744552dc1dfb4cc02f8 | |
parent | 06b15b4057623491e71dfda439096376e00a4dfe (diff) | |
download | emacs-abb381a2417249855bede616ae426e0c65328b2d.tar.gz |
replaced require with autoloads
-rw-r--r-- | lisp/ChangeLog | 7 | ||||
-rw-r--r-- | lisp/vc-cvs.el | 12 |
2 files changed, 16 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 16a952c11b0..643caf157a1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-01-29 Sam Steingold <sds@gnu.org> + + * vc-cvs.el: replaced (require 'vc) with a bunch of + `autoload' statements. + 2001-01-29 Eli Zaretskii <eliz@is.elta.co.il> * files.el (confirm-kill-emacs): Doc fix. @@ -23,7 +28,7 @@ 2001-01-29 Gerd Moellmann <gerd@gnu.org> - * 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 <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 |