commit 99d5a89a59a9ad4554eb29dfe26140668e08eacb
parent 97f4789ace879e2d2b6d10d38014cfacd5899b59
Author: Tomas Hlavaty <tom@logand.com>
Date: Sun, 8 Dec 2024 10:26:49 +0100
fix commondreams
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/email-eww.el b/email-eww.el
@@ -269,7 +269,8 @@
(forward-paragraph 2)
(delete-region (point) start))
(goto-char (point-max))
- (search-backward "From Your Site Articles" nil t)
+ (or (search-backward "From Your Site Articles" nil t)
+ (search-backward "SUBSCRIBE TO OUR FREE NEWSLETTER" nil t))
(beginning-of-line)
(delete-region (point) (point-max))
(message-goto-body))