summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)