* semi-setup.el (mime-setup-enable-inline-image): Remove checking
authorueno <ueno>
Mon, 21 Feb 2000 14:07:05 +0000 (14:07 +0000)
committerueno <ueno>
Mon, 21 Feb 2000 14:07:05 +0000 (14:07 +0000)
of bitmap-mule; use `eval-after-load' instead of
`call-after-loaded' to require `mime-image'.

semi-setup.el

index 4372035..a721520 100644 (file)
@@ -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