email-eww

Emacs library to send region or eww buffer by email
git clone https://logand.com/git/email-eww.git/
Log | Files | Refs

commit 1f80ef57d2fc43448405866f6d350b01a3222fb8
parent 11de3eb6690c6d339b65bcde619121fd9b63b7e3
Author: Tomas Hlavaty <tom@logand.com>
Date:   Sun, 31 Dec 2023 21:14:02 +0100

add wsws

Diffstat:
Memail-eww.el | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/email-eww.el b/email-eww.el @@ -274,6 +274,19 @@ (delete-region (point) (point-max)) (message-goto-body)) +(defun clean-up-wsws () + (forward-line 1) + (let ((start (point))) + (search-forward "* Donate" nil t) + (beginning-of-line) + (forward-paragraph) + (delete-region (point) start)) + (goto-char (point-max)) + (search-backward "Join the fight for socialism" nil t) + (beginning-of-line) + (delete-region (point) (point-max)) + (message-goto-body)) + (defun email-eww () (interactive) (let ((content (buffer-string))