From: Katsumi Yamaoka Date: Mon, 27 Oct 2014 03:51:08 +0000 (+0000) Subject: gnus.el (gnus-mode-line-buffer-identification): Don't add image data for a non-graphi... X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=8bb74da7932287e4f5fd806aa6c7dae35256bdce gnus.el (gnus-mode-line-buffer-identification): Don't add image data for a non-graphic display (bug#18813) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f37fe2362..ad98a159b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-10-27 Katsumi Yamaoka + + * gnus.el (gnus-mode-line-buffer-identification): + Don't add image data for a non-graphic display (bug#18813). + 2014-10-24 Katsumi Yamaoka * gnus.el (gnus-mode-line-buffer-identification): Don't shadow diff --git a/lisp/gnus.el b/lisp/gnus.el index b11b39727..605882c01 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -327,7 +327,8 @@ be set in `.emacs' instead." (defun gnus-mode-line-buffer-identification (line) (let ((str (car-safe line)) (load-path (append (mm-image-load-path) load-path))) - (if (and (stringp str) + (if (and (display-graphic-p) + (stringp str) (string-match "^Gnus:" str)) (progn (add-text-properties 0 5