[Backport] gnus.el (gnus-mode-line-buffer-identification):
Don't add image data for a non-graphic display; Don't shadow load-path, it blocks autoloading of find-image (bug#18813)
This commit is contained in:
parent
b13ccfca85
commit
7515423bc1
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-10-27 Katsumi Yamaoka <yamaoka@jpl.org>
|
||||
|
||||
* gnus.el (gnus-mode-line-buffer-identification):
|
||||
Don't add image data for a non-graphic display;
|
||||
Don't shadow load-path, it blocks autoloading of find-image (bug#18813).
|
||||
|
||||
2014-10-27 enami tsugutomo <tsugutomo.enami@jp.sony.com>
|
||||
|
||||
* nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested
|
||||
|
|
|
@ -328,8 +328,9 @@ 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)))
|
||||
(if (and (stringp str)
|
||||
(load-path (append (mm-image-load-path) load-path)))
|
||||
(if (and (display-graphic-p)
|
||||
(stringp str)
|
||||
(string-match "^Gnus:" str))
|
||||
(progn (add-text-properties
|
||||
0 5
|
||||
|
|
Loading…
Add table
Reference in a new issue