[gnus git] branch master updated: m0-11-66-g8bb74da =1= gnus.el (gnus-mode-line-buffer-identification): Don't add image data for a non-graphic display (bug#18813)

Katsumi <[email protected]> Mon, 27 Oct 2014 04:51:14 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  8bb74da7932287e4f5fd806aa6c7dae35256bdce (commit)
      from  d13cc85196efd6a50169b28c82fe75d64bc8aa3d (commit)


- Log -----------------------------------------------------------------
commit 8bb74da7932287e4f5fd806aa6c7dae35256bdce
Author: Katsumi Yamaoka <[email protected]>
Date:   Mon Oct 27 03:51:08 2014 +0000

    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 f37fe23..ad98a15 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-27  Katsumi Yamaoka  <[email protected]>
+
+	* gnus.el (gnus-mode-line-buffer-identification):
+	Don't add image data for a non-graphic display (bug#18813).
+
 2014-10-24  Katsumi Yamaoka  <[email protected]>
 
 	* gnus.el (gnus-mode-line-buffer-identification): Don't shadow
diff --git a/lisp/gnus.el b/lisp/gnus.el
index b11b397..605882c 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

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/gnus.el   |    3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project