[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making a backup file on every buffer save?
From: |
Roy Smith |
Subject: |
Re: Making a backup file on every buffer save? |
Date: |
Tue, 24 May 2011 20:01:45 -0000 |
User-agent: |
G2/1.0 |
On May 2, 10:32 am, Alain Ketterlin <al...@dpt-info.u-strasbg.fr>
wrote:
> Roy Smith <r...@panix.com> writes:
> > The docs say:
>
> > "Emacs makes a backup for a file only the first time the file is
> > saved from a buffer. No matter how many times you subsequently save
> > the file, its backup remains unchanged. However, if you kill the
> > buffer and then visit the file again, a new backup file will be made."
>
> > Is there any way to override this and get a backup file on every
> > buffer save? I'm using GNU Emacs 23.1.1.
>
> A few paragraphs later, the doc mentions that C-u C-u C-x C-s should do
> what you want (but I guess auto-save is supposed to solve the kind of
> problem you had). Or you can call make-backup explicitly.
>
> -- Alain.
Oh, duh. I just didn't read far enough. Thanks for pointing that
out!