* mail/rmailmm.el (rmail-mime-set-bulk-data): Silence --without-x compilation.
authorGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 03:47:11 +0000 (20:47 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 03:47:11 +0000 (20:47 -0700)
lisp/ChangeLog
lisp/mail/rmailmm.el

index dd6e057..0875fca 100644 (file)
@@ -1,5 +1,8 @@
 2013-09-18  Glenn Morris  <rgm@gnu.org>
 
+       * mail/rmailmm.el (rmail-mime-set-bulk-data):
+       Silence --without-x compilation.
+
        * wdired.el (dired-backup-overwrite): Remove declaration.
        (wdired-mode-map): Add doc string.
 
index 350e3da..f2437b1 100644 (file)
@@ -685,7 +685,8 @@ directly."
      ((string-match "image/\\(.*\\)" content-type)
       (setq type (image-type-from-file-name
                  (concat "." (match-string 1 content-type))))
-      (if (and (memq type image-types)
+      (if (and (boundp 'image-types)
+              (memq type image-types)
               (image-type-available-p type))
          (if (and rmail-mime-show-images
                   (not (eq rmail-mime-show-images 'button))