On May 12, Jonathan Pennington wrote:
> Again with the lost configs. I used to just type that sequence after
> writing an email and emacs would save and exit, automagically
> releasing control to Mutt. Unfortunately, now I have to explicitily
> exit before continuing. Does anyone know what I want to adjust to
> make the sequence C-c C-c (or any sequence for that matter) do this
> automagically again?
To skip the prompt you might use something like this:
(defun exit-save-all-yes ()
"Exit emacs and save all buffers without prompting"
(interactive)
(save-buffers-kill-emacs t))
(global-set-key "\C-c\C-c" 'exit-save-all-yes)
--
Holger [EMAIL PROTECTED]