help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a backup file on every buffer save?


From: Alain Ketterlin
Subject: Re: Making a backup file on every buffer save?
Date: Tue, 24 May 2011 20:01:44 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Roy Smith <roy@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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]