From 492b6926c8901e1ce5294b3335f0ece9705e5106 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 31 Oct 2010 00:36:40 +0200 Subject: [PATCH] * shr.el (shr-tag-img): Output "*" instead of "[img]". --- lisp/ChangeLog | 4 ++++ lisp/shr.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 18dbfa4fe..cec8a42a5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-10-30 Lars Magne Ingebrigtsen + + * shr.el (shr-tag-img): Output "*" instead of "[img]". + 2010-10-30 Andrew Cohen * nnir.el move defvar, defcustom around to keep file organized and keep diff --git a/lisp/shr.el b/lisp/shr.el index 2516a18e7..d72473527 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -524,7 +524,7 @@ Return a string with image data." (url (or url (cdr (assq :src cont))))) (let ((start (point-marker))) (when (zerop (length alt)) - (setq alt "[img]")) + (setq alt "*")) (cond ((or (member (cdr (assq :height cont)) '("0" "1")) (member (cdr (assq :width cont)) '("0" "1"))) -- 2.25.1