Subject: Re: bug#18980: 24.4; gnus in 24.4 breaks load-path?
From: Katsumi Yamaoka <[email-masked]>
To: Trent W. Buck <[email-masked]>
Cc: [email-masked]
Date: Fri, 07 Nov 2014 11:46:04 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, 07 Nov 2014 10:31:16 +1100, Trent W. Buck wrote:
> After upgrading from 24.3 to 24.4, "emacs -f gnus" stopped working:

>     Cannot open load file: no such file or directory, image

Thanks.  This should have been fixed as the bug#18813[1] in
the Emacs repositories.  The diff is below:

--8<---------------cut here---------------start------------->8---
--- a/lisp/gnus/gnus.el	2014-03-23 23:13:36 +0000
+++ d/lisp/gnus/gnus.el	2014-10-27 03:51:18 +0000
@@ -328,8 +328,9 @@
   (if (fboundp 'find-image)
       (defun gnus-mode-line-buffer-identification (line)
 	(let ((str (car-safe line))
-	      (load-path (mm-image-load-path)))
-	  (if (and (stringp str)
+	      (load-path (append (mm-image-load-path) load-path)))
+	  (if (and (display-graphic-p)
+		   (stringp str)
 		   (string-match "^Gnus:" str))
 	      (progn (add-text-properties
 		      0 5
--8<---------------cut here---------------end--------------->8---

[1] http://thread.gmane.org/gmane.emacs.bugs/95013