From: ueno Date: Mon, 21 Feb 2000 14:07:05 +0000 (+0000) Subject: * semi-setup.el (mime-setup-enable-inline-image): Remove checking X-Git-Tag: emiko-1_13_11~3 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c76bd9b979729eb7822969264b202ab5eb6d202;p=elisp%2Fsemi.git * 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'. --- 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