[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Protecting buffers which aren't visiting files
From: |
Andrea Crotti |
Subject: |
Re: Protecting buffers which aren't visiting files |
Date: |
Mon, 25 Oct 2010 17:28:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) |
"Otto Maddox" <ottomaddox@fastmail.fm> writes:
> I use a lot of scratch buffers (which don't visit files), and I've lost
> a lot of work due to accidentally quitting Emacs or killing those
> buffers, because Emacs doesn't ask for confirmation. Is there a way of
> configuring Emacs to treat buffers which don't visit files the same way
> as file-visiting buffers, for this situation?
>
> Thanks.
Actually I also did but nothing important luckily, I always saved
somewhere before...
I can't find any but there should be a variable somewhere to set this.
And I also always thought that those scratch buffers where saved
somewhere in /tmp, but I can't find that either...