mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Don't add image data for a non-graphic display (bug#18813)
This commit is contained in:
parent
ea1c65d4bb
commit
48ec745025
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user