summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-10 13:47:59 +0100
committerjao <jao@gnu.org>2022-08-10 13:47:59 +0100
commit0023cdf3412ce359e01245d116f0ac8626d6b534 (patch)
tree7ad9e466064e978cc0cfee1c9cb1e65f11fba0ab
parent87a26e653b2deac76adfbe763e274e9a95f5f000 (diff)
downloadelibs-0023cdf3412ce359e01245d116f0ac8626d6b534.tar.gz
elibs-0023cdf3412ce359e01245d116f0ac8626d6b534.tar.bz2
textsec and w3m
-rw-r--r--custom/jao-custom-w3m.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/custom/jao-custom-w3m.el b/custom/jao-custom-w3m.el
index 4d1d621..634d21e 100644
--- a/custom/jao-custom-w3m.el
+++ b/custom/jao-custom-w3m.el
@@ -173,5 +173,11 @@
("x" . jao-rss-subscribe)
("y" . w3m-print-current-url))))
+;;; textsec
+;; the way in which w3m constructs ALT text for links to images confuses
+;; makes it suspicious under textsec link check.
+(with-eval-after-load "textsec"
+ (advice-add 'textsec-link-suspicious-p :override #'ignore))
+
;;; .
(provide 'jao-custom-w3m)