(gnus-group-startup-message): Bind image-load-path.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 16 Sep 2005 02:00:30 +0000 (02:00 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 16 Sep 2005 02:00:30 +0000 (02:00 +0000)
lisp/ChangeLog
lisp/gnus.el

index de80f91..ad9691a 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus.el (gnus-group-startup-message): Bind image-load-path.
+
 2005-09-15  Romain Francoise  <romain@orebokech.com>
 
        * message.el (message-fill-paragraph): Clarify docstring.
index c765318..db782df 100644 (file)
@@ -1002,6 +1002,11 @@ be set in `.emacs' instead."
      (fboundp 'find-image)
      (display-graphic-p)
      (let* ((data-directory (nnheader-find-etc-directory "images/gnus"))
+           (image-load-path (cond (data-directory
+                                   (list data-directory))
+                                  ((boundp 'image-load-path)
+                                   (symbol-value 'image-load-path))
+                                  (t load-path)))
            (image (find-image
                    `((:type xpm :file "gnus.xpm"
                             :color-symbols