Emacs and message-mode: save and close buffer
- Date: Thu, 13 Sep 2018 22:54:19 +0200
- From: Pétùr <peturvilj@xxxxxxxxx>
- Subject: Emacs and message-mode: save and close buffer
I have this code in my .emacs to save and close the buffer with C-c C-c.
It is designed to use with message-mode for going back to mutt after
writing an email.
However, it doesn't save the buffer. If I compose an email and never
press C-x C-s, C-c C-c will just close the buffer and erase it with
nothing left to send. Pretty annoying!
(define-key mail-mode-map [(control c) (control c)]
What can I change?