aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2014-10-24 08:34:32 +0000
committerKatsumi Yamaoka2014-10-24 08:34:32 +0000
commitec4f68b3e377f198ca93affc7b2efd359a24ea69 (patch)
tree45f9d8266f40c2cad16660ac55f0bbe5f2f1e929
parent53e154166e122a31ed42b35712c2403184d4b5d6 (diff)
downloademacs-ec4f68b3e377f198ca93affc7b2efd359a24ea69.tar.gz
emacs-ec4f68b3e377f198ca93affc7b2efd359a24ea69.zip
lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path, it blocks autoloading of find-image (bug#18813)
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus.el2
2 files changed, 6 insertions, 1 deletions
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 @@
12014-10-24 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus.el (gnus-mode-line-buffer-identification): Don't shadow
4 load-path, it blocks autoloading of find-image (bug#18813).
5
12014-10-24 enami tsugutomo <tsugutomo.enami@jp.sony.com> 62014-10-24 enami tsugutomo <tsugutomo.enami@jp.sony.com>
2 7
3 * nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested 8 * 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."
326 (if (fboundp 'find-image) 326 (if (fboundp 'find-image)
327 (defun gnus-mode-line-buffer-identification (line) 327 (defun gnus-mode-line-buffer-identification (line)
328 (let ((str (car-safe line)) 328 (let ((str (car-safe line))
329 (load-path (mm-image-load-path))) 329 (load-path (append (mm-image-load-path) load-path)))
330 (if (and (stringp str) 330 (if (and (stringp str)
331 (string-match "^Gnus:" str)) 331 (string-match "^Gnus:" str))
332 (progn (add-text-properties 332 (progn (add-text-properties