From 3018669168ee47af00f2a4079d8b21e351db2efd Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 27 Apr 2021 00:54:38 +0100 Subject: blocked images again --- email.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'email.org') diff --git a/email.org b/email.org index 5da8c15..8a9b109 100644 --- a/email.org +++ b/email.org @@ -339,10 +339,13 @@ (interactive) (when (jao-notmuch-goto-message-buffer) (goto-char (point-min)) - (save-excursion - (when (re-search-forward "\\[ multipart/alternative \\]" nil t) - (while (forward-button 1 nil nil t) - (notmuch-show-toggle-part-invisibility)))) + (let ((notmuch-show-text/html-blocked-images nil) + (shr-inhibit-images nil) + (shr-blocked-images nil)) + (save-excursion + (when (re-search-forward "\\[ multipart/alternative \\]" nil t) + (while (forward-button 1 nil nil t) + (notmuch-show-toggle-part-invisibility))))) (jao-notmuch-goto-index-buffer))) (defun jao-notmuch-toggle-images () -- cgit v1.2.3