* riece-icon.el (riece-icon-available-p): Check
authorDaiki Ueno <ueno@unixuser.org>
Mon, 27 Oct 2003 03:28:13 +0000 (03:28 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Mon, 27 Oct 2003 03:28:13 +0000 (03:28 +0000)
the existence of image-type-available-p.

lisp/ChangeLog
lisp/riece-icon.el

index b642f96..a2dce39 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-27  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-icon.el (riece-icon-available-p): Check
+       the existence of image-type-available-p.
+
 2003-10-27  OHASHI Akira  <bg66@koka-in.org>
 
        * riece-log.el (riece-log-get-directory): Fix for server name and
index 65a3de4..82ce4e6 100644 (file)
@@ -182,7 +182,8 @@ static char * a_xpm[] = {
 (defun riece-icon-available-p ()
   (if (featurep 'xemacs)
       (featurep 'xpm)
-    (image-type-available-p 'xpm)))
+    (if (fboundp 'image-type-available-p)
+       (image-type-available-p 'xpm))))
 
 (eval-and-compile
   (if (featurep 'xemacs)