From 52bb6f2d832e6a2bfb851a1b53edee14c4049b3d Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 16 Aug 2022 22:52:55 +0100 Subject: w3m/notmuch: toggle images --- lib/net/jao-notmuch.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/net') 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) -- cgit v1.2.3