summaryrefslogtreecommitdiffhomepage
path: root/lib/net
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-16 22:52:55 +0100
committerjao <jao@gnu.org>2022-08-16 22:53:56 +0100
commit52bb6f2d832e6a2bfb851a1b53edee14c4049b3d (patch)
tree4e2519ef45a80175c0e81ef70b77143f58c75c7b /lib/net
parent48318f342bd8a6db7c1561c139982c658428cacd (diff)
downloadelibs-52bb6f2d832e6a2bfb851a1b53edee14c4049b3d.tar.gz
elibs-52bb6f2d832e6a2bfb851a1b53edee14c4049b3d.tar.bz2
w3m/notmuch: toggle images
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/jao-notmuch.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el
index edffade..f2e87fc 100644
--- a/lib/net/jao-notmuch.el
+++ b/lib/net/jao-notmuch.el
@@ -207,9 +207,9 @@
(defun jao-notmuch-toggle-images ()
(interactive)
- (cond ((eq mm-text-html-renderer 'w3m)
- (when (fboundp 'jao-notmuch--w3m-toggle-images)
- (jao-notmuch--w3m-toggle-images)))
+ (cond ((memq mm-text-html-renderer '(w3m jao-w3m-html-renderer))
+ (when (fboundp 'jao-notmuch--w3m-toggle-images)
+ (jao-notmuch--w3m-toggle-images)))
(window-system (jao-notmuch--shr-toggle-images))
(notmuch-tree-message-buffer
(if nil ;;(fboundp 'jao-open-in-x-frame)