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

Re: Is it possible to prevent emacs auto saving the filename~?



明覺 <shi.minjue@gmail.com> writes:

> I know that emacs auto save a file named filename~ when I modified the
> file filename, but I do not like the autosaved copy, could i stop this
> function? thanks

Set auto-save-default to nil, as explained in the Emacs manual:

(info "(emacs)Auto Save Control")

Adding

(setq auto-save-default nil)

to your .emacs will do this automatically.

Cheers,

Tyler

-- 
What is wanted is not the will to believe, but the will to find out,
which is the exact opposite.           --Bertrand Russell


Reply to: