From: Katsumi Yamaoka Date: Thu, 6 May 2010 04:15:34 +0000 (+0000) Subject: Require easy-mmode for XEmacs when compiling. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~268 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d029b5d2b0541f5138dccf7fcfdfb751d582adbb;p=emacs.git Require easy-mmode for XEmacs when compiling. --- diff --git a/lisp/gnus/gnus-dired.el b/lisp/gnus/gnus-dired.el index 67cb7ecfa08..4874de1925a 100644 --- a/lisp/gnus/gnus-dired.el +++ b/lisp/gnus/gnus-dired.el @@ -39,6 +39,9 @@ ;;; Code: +(eval-when-compile + (when (featurep 'xemacs) + (require 'easy-mmode))) ; for `define-minor-mode' (require 'dired) (autoload 'mml-attach-file "mml") (autoload 'mm-default-file-encoding "mm-decode");; Shift this to `mailcap.el'? diff --git a/lisp/gnus/gnus-draft.el b/lisp/gnus/gnus-draft.el index a4e1e1dd309..c04ea13b3a9 100644 --- a/lisp/gnus/gnus-draft.el +++ b/lisp/gnus/gnus-draft.el @@ -32,6 +32,9 @@ (require 'nndraft) (require 'gnus-agent) (eval-when-compile (require 'cl)) +(eval-when-compile + (when (featurep 'xemacs) + (require 'easy-mmode))) ; for `define-minor-mode' ;;; Draft minor mode diff --git a/lisp/gnus/gnus-ml.el b/lisp/gnus/gnus-ml.el index a77de710769..3a5b8deb45f 100644 --- a/lisp/gnus/gnus-ml.el +++ b/lisp/gnus/gnus-ml.el @@ -30,6 +30,9 @@ (require 'gnus) (require 'gnus-msg) (eval-when-compile (require 'cl)) +(eval-when-compile + (when (featurep 'xemacs) + (require 'easy-mmode))) ; for `define-minor-mode' ;;; Mailing list minor mode diff --git a/lisp/gnus/gnus-salt.el b/lisp/gnus/gnus-salt.el index 22e446629f2..21c556ad33f 100644 --- a/lisp/gnus/gnus-salt.el +++ b/lisp/gnus/gnus-salt.el @@ -26,6 +26,9 @@ ;;; Code: (eval-when-compile (require 'cl)) +(eval-when-compile + (when (featurep 'xemacs) + (require 'easy-mmode))) ; for `define-minor-mode' (require 'gnus) (require 'gnus-sum) diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 7c407476e20..5939f9b6e7e 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -30,6 +30,9 @@ (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) (eval-when-compile (require 'cl)) +(eval-when-compile + (when (featurep 'xemacs) + (require 'easy-mmode))) ; for `define-minor-mode' (defvar tool-bar-mode) (defvar gnus-tmp-header) diff --git a/lisp/gnus/gnus-undo.el b/lisp/gnus/gnus-undo.el index 433edef078f..d11b778f351 100644 --- a/lisp/gnus/gnus-undo.el +++ b/lisp/gnus/gnus-undo.el @@ -45,6 +45,9 @@ ;;; Code: (eval-when-compile (require 'cl)) +(eval-when-compile + (when (featurep 'xemacs) + (require 'easy-mmode))) ; for `define-minor-mode' (require 'gnus-util) (require 'gnus) diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el index f55b2ccae92..170bc69fe3a 100644 --- a/lisp/gnus/mml.el +++ b/lisp/gnus/mml.el @@ -33,6 +33,9 @@ (require 'mm-decode) (require 'mml-sec) (eval-when-compile (require 'cl)) +(eval-when-compile + (when (featurep 'xemacs) + (require 'easy-mmode))) ; for `define-minor-mode' (autoload 'message-make-message-id "message") (declare-function gnus-setup-posting-charset "gnus-msg" (group))