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 5790e94d9a2bc0bd7891ab1f7177dd7865087ec7
parent 656473ec1fec5e7038ea8dac229a92ac81ad1fd9
Author: Tomas Hlavaty <tom@logand.com>
Date:   Sun, 31 Dec 2023 21:13:39 +0100

add cnn

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

diff --git a/email-eww.el b/email-eww.el @@ -247,6 +247,19 @@ (delete-region (point) (point-max)) (message-goto-body)) +(defun clean-up-cnn () + (forward-line 1) + (let ((start (point))) + (search-forward "Follow CNN" nil t) + (beginning-of-line) + (forward-paragraph 2) + (delete-region (point) start)) + (goto-char (point-max)) + (search-backward "Submit" nil t) + (beginning-of-line) + (delete-region (point) (point-max)) + (message-goto-body)) + (defun email-eww () (interactive) (let ((content (buffer-string))