From f3a4edd8317a55c9650e7e06b3b0c56a68bbc44f Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 16 Dec 2003 11:46:06 +0000 Subject: [PATCH] * gnus-art.el: Require `mime-image' when Emacs is running on the window system. * gnus-sum.el: Don't require `mime-view'. --- ChangeLog | 7 +++++++ lisp/gnus-art.el | 4 ++++ lisp/gnus-sum.el | 1 - 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 324aedc..abe087e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-12-16 Katsumi Yamaoka + + * lisp/gnus-art.el: Require `mime-image' when Emacs is running on + the window system. + + * lisp/gnus-sum.el: Don't require `mime-view'. + 2003-10-27 Katsumi Yamaoka * texi/infohack.el: Don't fiddle with the `features' variable; diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index f5ad64e..f32e0e7 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -41,6 +41,10 @@ (require 'gnus-win) (require 'alist) (require 'mime-view) +(when (static-if (featurep 'xemacs) + (console-on-window-system-p) + window-system) + (require 'mime-image)) (require 'wid-edit) ;; Avoid byte-compile warnings. diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index bd37ba4..187d390 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -41,7 +41,6 @@ (require 'gnus-undo) (require 'gnus-util) (require 'nnoo) -(require 'mime-view) (eval-when-compile (require 'mime-play) -- 1.7.10.4