summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-04-09 16:15:20 +0100
committerjao <jao@gnu.org>2021-04-09 16:15:30 +0100
commit3e19bece0fe97593afbedd5b72fada0039487c56 (patch)
treeb0a23a35db14ba3d7b547fe1a3c993ff73a60f3f
parent4bed33d14d824f26e9d4fc95fdc6c2d63819288c (diff)
downloadelibs-3e19bece0fe97593afbedd5b72fada0039487c56.tar.gz
elibs-3e19bece0fe97593afbedd5b72fada0039487c56.tar.bz2
fix for jao-gnus-follow-link
-rw-r--r--gnus.org5
1 files 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")