From: Katsumi Yamaoka Date: Fri, 24 Oct 2014 08:34:32 +0000 (+0000) Subject: lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path... X-Git-Tag: emacs-25.0.90~2635^2~663 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec4f68b3e377f198ca93affc7b2efd359a24ea69;p=emacs.git lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path, it blocks autoloading of find-image (bug#18813) --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 2e17c5ab385..d82e669ea2e 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2014-10-24 Katsumi Yamaoka + + * gnus.el (gnus-mode-line-buffer-identification): Don't shadow + load-path, it blocks autoloading of find-image (bug#18813). + 2014-10-24 enami tsugutomo * nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 206f5a502fc..f07ea499ecd 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -326,7 +326,7 @@ be set in `.emacs' instead." (if (fboundp 'find-image) (defun gnus-mode-line-buffer-identification (line) (let ((str (car-safe line)) - (load-path (mm-image-load-path))) + (load-path (append (mm-image-load-path) load-path))) (if (and (stringp str) (string-match "^Gnus:" str)) (progn (add-text-properties