lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path, it blocks autoloading of find-image (bug#18813)

This commit is contained in:
Katsumi Yamaoka 2014-10-24 08:34:32 +00:00
parent 53e154166e
commit ec4f68b3e3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-10-24 Katsumi Yamaoka <yamaoka@jpl.org>
* 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 <tsugutomo.enami@jp.sony.com>
* nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested

View file

@ -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