Mercurial > emacs
changeset 35702:395d188bb71d
replaced require with autoloads
author | Sam Steingold <sds@gnu.org> |
---|---|
date | Mon, 29 Jan 2001 19:12:40 +0000 |
parents | 96fb197c6aff |
children | c691980103d7 |
files | lisp/ChangeLog lisp/vc-cvs.el |
diffstat | 2 files changed, 16 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Jan 29 17:38:03 2001 +0000 +++ b/lisp/ChangeLog Mon Jan 29 19:12:40 2001 +0000 @@ -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,
--- a/lisp/vc-cvs.el Mon Jan 29 17:38:03 2001 +0000 +++ b/lisp/vc-cvs.el Mon Jan 29 19:12:40 2001 +0000 @@ -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