]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't add image data for...
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 27 Oct 2014 03:51:18 +0000 (12:51 +0900)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 27 Oct 2014 03:51:18 +0000 (12:51 +0900)
lisp/gnus/ChangeLog
lisp/gnus/gnus.el

index b64d3053dfdf3912dca09341e3fdde3ef0215f09..04253780783b542fb279c80e372bd4029547449c 100644 (file)
@@ -1,3 +1,8 @@
+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 (bug#18813).
+
 2014-10-24  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus.el (gnus-mode-line-buffer-identification): Don't shadow
index f07ea499ecd498a4df7ae4907e6770e8eca76420..c26c3b7559e096349e9a39f43f565a2d53a92edf 100644 (file)
@@ -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