From: yamaoka Date: Tue, 16 Dec 2003 11:46:06 +0000 (+0000) Subject: * gnus-art.el: Require `mime-image' when Emacs is running on the window system. X-Git-Tag: t-gnus-6_16_3-00~1 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f3a4edd8317a55c9650e7e06b3b0c56a68bbc44f;p=elisp%2Fgnus.git- * gnus-art.el: Require `mime-image' when Emacs is running on the window system. * gnus-sum.el: Don't require `mime-view'. --- 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)