[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Protecting buffers which aren't visiting files
From: |
Pascal J. Bourguignon |
Subject: |
Re: Protecting buffers which aren't visiting files |
Date: |
Wed, 08 Dec 2010 15:33:18 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
"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?
I just create scratch _files_.
C-x C-f scratch1.txt RET
^
instead of:
C-x b scratch1.buf RET
--
__Pascal Bourguignon__ http://www.informatimago.com/
- Re: Protecting buffers which aren't visiting files,
Pascal J. Bourguignon <=