From 349f4e97b5cfb680969b497737048b8666a3999e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 23 Aug 1997 20:31:08 +0000 Subject: [PATCH] Require cl only at compile time. --- lisp/gnus/gnus-gl.el | 3 ++- lisp/gnus/gnus-setup.el | 2 +- lisp/gnus/nnmh.el | 2 +- lisp/gnus/nnml.el | 2 +- lisp/gnus/nnoo.el | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/gnus/gnus-gl.el b/lisp/gnus/gnus-gl.el index 16c02949248..c035c0488bb 100644 --- a/lisp/gnus/gnus-gl.el +++ b/lisp/gnus/gnus-gl.el @@ -119,8 +119,9 @@ ;;; Code: +(eval-when-compile (require 'cl)) + (require 'gnus-score) -(require 'cl) (require 'gnus) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/lisp/gnus/gnus-setup.el b/lisp/gnus/gnus-setup.el index 3a0dda2ed06..ae9909b2d9d 100644 --- a/lisp/gnus/gnus-setup.el +++ b/lisp/gnus/gnus-setup.el @@ -31,7 +31,7 @@ ;;; Code: -(require 'cl) +(eval-when-compile (require 'cl)) (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version)) diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el index 608f540203e..c87e627ef20 100644 --- a/lisp/gnus/nnmh.el +++ b/lisp/gnus/nnmh.el @@ -34,7 +34,7 @@ (require 'nnmail) (require 'gnus-start) (require 'nnoo) -(require 'cl) +(eval-when-compile (require 'cl)) (nnoo-declare nnmh) diff --git a/lisp/gnus/nnml.el b/lisp/gnus/nnml.el index bfd5a460b95..cd921f2e386 100644 --- a/lisp/gnus/nnml.el +++ b/lisp/gnus/nnml.el @@ -33,7 +33,7 @@ (require 'nnheader) (require 'nnmail) (require 'nnoo) -(require 'cl) +(eval-when-compile (require 'cl)) (nnoo-declare nnml) diff --git a/lisp/gnus/nnoo.el b/lisp/gnus/nnoo.el index c768d04f6d2..2f93502215c 100644 --- a/lisp/gnus/nnoo.el +++ b/lisp/gnus/nnoo.el @@ -26,7 +26,7 @@ ;;; Code: (require 'nnheader) -(require 'cl) +(eval-when-compile (require 'cl)) (defvar nnoo-definition-alist nil) (defvar nnoo-state-alist nil) -- 2.39.2