]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't shadow load-path...
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 24 Oct 2014 08:34:32 +0000 (08:34 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 24 Oct 2014 08:34:32 +0000 (08:34 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus.el

index 2e17c5ab385eb7197d26a94bf0a0f20ff4174b79..d82e669ea2e53e70fd98c9183a250abc1574526f 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 206f5a502fc7df8ea840835bca308b6c7f5b8865..f07ea499ecd498a4df7ae4907e6770e8eca76420 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