From b3dd3020056ab3494bb150aff202a09d4b64f629 Mon Sep 17 00:00:00 2001 From: Ulf Jasper Date: Wed, 6 Nov 2024 14:17:15 +0100 Subject: [PATCH] * lisp/net/newst-plainview.el (newsticker--buffer-do-insert-text): Bug#74197 Use "[logo: ]" instead of "" for the string holding the logo image. (cherry picked from commit b5845eb5ef54162da6f0735880b36315ca984852) --- lisp/net/newst-plainview.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/net/newst-plainview.el b/lisp/net/newst-plainview.el index 0ff7985f0dc..1bc4bc84440 100644 --- a/lisp/net/newst-plainview.el +++ b/lisp/net/newst-plainview.el @@ -1279,7 +1279,7 @@ FEED-NAME-SYMBOL tells to which feed this item belongs." (let ((img (newsticker--image-read feed-name-symbol disabled))) (when img - (newsticker--insert-image img (car item))))) + (newsticker--insert-image img (format "[logo: %s]" (car item)))))) (setq format (substring format 2))) ((string= "%L" prefix) ;; logo or title @@ -1292,7 +1292,7 @@ FEED-NAME-SYMBOL tells to which feed this item belongs." (let ((img (newsticker--image-read feed-name-symbol disabled))) (if img - (newsticker--insert-image img (car item)) + (newsticker--insert-image img (format "[logo: %s]" (car item))) (when (car item) (setq pos-text-start (point-marker)) (if (eq (newsticker--age item) 'feed) -- 2.39.5