From 7e34c0aa4ec25ba16471824a2c73a7af6f7bef9b Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 16 Dec 2003 11:46:18 +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 e4f9f59..5c567a1 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-12-15 Katsumi Yamaoka * lisp/nnmail.el (nnmail-lazy): Replace `widget-default-get' with diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 0f1b5e0..5bce49c 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 f183a71..885c42c 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