<<< Date Index >>>     <<< Thread Index >>>

Re: Setting Mutt exit code



On Thu, Sep 25, 2003 at 11:25:12AM -0400, Steve Talley wrote:
 
> Exiting mutt normally (via <quit>) results in an exit value of 0.  But
> using Ctrl-C and then answering [yes] when mutt asks "Exit Mutt?
> ([yes]/no):" causes mutt to exit with a value of 1.

I need something which saves the mailbox first.  Actually, I'm using the
^C hack right now, but I feel that it's too ugly.