changeset 108257:43f533721413

Require easy-mmode for XEmacs when compiling.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 06 May 2010 04:16:24 +0000
parents 7d3e117cb7a7 (current diff) f2dd5d43653f (diff)
children 2b67fd653d68
files
diffstat 7 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/gnus-dired.el	Thu May 06 03:28:13 2010 +0000
+++ b/lisp/gnus/gnus-dired.el	Thu May 06 04:16:24 2010 +0000
@@ -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'?
--- a/lisp/gnus/gnus-draft.el	Thu May 06 03:28:13 2010 +0000
+++ b/lisp/gnus/gnus-draft.el	Thu May 06 04:16:24 2010 +0000
@@ -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
 
--- a/lisp/gnus/gnus-ml.el	Thu May 06 03:28:13 2010 +0000
+++ b/lisp/gnus/gnus-ml.el	Thu May 06 04:16:24 2010 +0000
@@ -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
 
--- a/lisp/gnus/gnus-salt.el	Thu May 06 03:28:13 2010 +0000
+++ b/lisp/gnus/gnus-salt.el	Thu May 06 04:16:24 2010 +0000
@@ -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)
--- a/lisp/gnus/gnus-sum.el	Thu May 06 03:28:13 2010 +0000
+++ b/lisp/gnus/gnus-sum.el	Thu May 06 04:16:24 2010 +0000
@@ -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)
--- a/lisp/gnus/gnus-undo.el	Thu May 06 03:28:13 2010 +0000
+++ b/lisp/gnus/gnus-undo.el	Thu May 06 04:16:24 2010 +0000
@@ -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)
--- a/lisp/gnus/mml.el	Thu May 06 03:28:13 2010 +0000
+++ b/lisp/gnus/mml.el	Thu May 06 04:16:24 2010 +0000
@@ -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))