gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path, it blocks...
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 24 Oct 2014 08:34:20 +0000 (08:34 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 24 Oct 2014 08:34:20 +0000 (08:34 +0000)
lisp/ChangeLog
lisp/gnus.el

index 2156301..1bbabe4 100644 (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
index 0cdb417..b11b397 100644 (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