diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index b64d3053dfd..04253780783 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-10-27 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus.el (gnus-mode-line-buffer-identification): | ||
| 4 | Don't add image data for a non-graphic display (bug#18813). | ||
| 5 | |||
| 1 | 2014-10-24 Katsumi Yamaoka <yamaoka@jpl.org> | 6 | 2014-10-24 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 7 | ||
| 3 | * gnus.el (gnus-mode-line-buffer-identification): Don't shadow | 8 | * gnus.el (gnus-mode-line-buffer-identification): Don't shadow |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index f07ea499ecd..c26c3b7559e 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -327,7 +327,8 @@ be set in `.emacs' instead." | |||
| 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 (append (mm-image-load-path) load-path))) | 329 | (load-path (append (mm-image-load-path) load-path))) |
| 330 | (if (and (stringp str) | 330 | (if (and (display-graphic-p) |
| 331 | (stringp str) | ||
| 331 | (string-match "^Gnus:" str)) | 332 | (string-match "^Gnus:" str)) |
| 332 | (progn (add-text-properties | 333 | (progn (add-text-properties |
| 333 | 0 5 | 334 | 0 5 |