From 2c76bd9b979729eb7822969264b202ab5eb6d202 Mon Sep 17 00:00:00 2001 From: ueno Date: Mon, 21 Feb 2000 14:07:05 +0000 Subject: [PATCH] * semi-setup.el (mime-setup-enable-inline-image): Remove checking of bitmap-mule; use `eval-after-load' instead of `call-after-loaded' to require `mime-image'. --- semi-setup.el | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/semi-setup.el b/semi-setup.el index 4372035..a721520 100644 --- a/semi-setup.el +++ b/semi-setup.el @@ -41,22 +41,15 @@ it is used as hook to set." )) -;; for image/* and X-Face +;; for image/* (defvar mime-setup-enable-inline-image (and window-system - (or (featurep 'xemacs) - (and (featurep 'mule)(module-installed-p 'bitmap)) - )) + (or (featurep 'xemacs)(featurep 'mule))) "*If it is non-nil, semi-setup sets up to use mime-image.") (if mime-setup-enable-inline-image - (call-after-loaded 'mime-view - (function - (lambda () - (require 'mime-image) - ))) - ) - + (eval-after-load "mime-view" + '(require 'mime-image))) ;; for text/html (defvar mime-setup-enable-inline-html -- 1.7.10.4