From 3e19bece0fe97593afbedd5b72fada0039487c56 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 9 Apr 2021 16:15:20 +0100 Subject: fix for jao-gnus-follow-link --- gnus.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnus.org b/gnus.org index c622946..5f447d2 100644 --- a/gnus.org +++ b/gnus.org @@ -560,7 +560,7 @@ (not (beginning-of-line)))) (if external (jao-browse-with-external-browser) - (w3m-safe-view-this-url))))) + (browse-url (jao-url-around-point)))))) (defun jao-gnus-open-enclosure (&optional playp) (interactive "P") @@ -612,7 +612,8 @@ ("E" (jao-gnus-open-enclosure t) "Play enclosure")) "Images" (("z" w3m-lnum-zoom-in-image "Zoom image at point") - ("I" w3m-view-image "View image at point") + ("I" (if (fboundp 'w3m-view-image) (w3m-view-image) (eww-display-image)) + "View image at point") ("i" jao-gnus-show-images "Show images")) "Toot" (("t" jao-gnus-tweet-link "Tweet article") -- cgit v1.2.3