help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending a buffer by mail


From: Bob Newell
Subject: Re: sending a buffer by mail
Date: Wed, 30 Aug 2017 18:54:53 -1000

On Wed, Aug 30, 2017 at 3:55 PM, John Mastro <john.b.mastro@gmail.com> wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>>> Well, that sounds like a very thin wrapper around insert-buffer:
>>>

> (defun send-buffer-as-mail ()
>   (interactive)
>   (let ((buf (current-buffer)))
>     (compose-mail)
>     (save-excursion
>       (message-goto-body)
>       (insert-buffer buf))))
>

Quite nice, I'll add that to my startup.

-- 
Bob Newell
Honolulu, Hawai`i

Sent via Linux Mint 17.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]