From 74eccd0b7c5084e32cd7fb4c16704d32cd7fb091 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Fri, 24 Oct 2014 08:34:32 +0000 Subject: [PATCH] lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path, it blocks autoloading of find-image (bug#18813) --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 4c7ff6250d1..71dea321d4f 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 -- 2.11.4.GIT