Czipperz
Czipperz

Reputation: 3336

Emacs prevent backups in the form `#<filename>#`

I like to write some Java code to test out the new lisp features that I program. When I do this I open a new buffer and then usually restart emacs. When I C-x C-c, emacs wants me to save the file, and if I do not it generates a backup of the form #<filename>#. How can I stop this from happening, without disabling the backup of the form <filename>~?

Upvotes: 2

Views: 57

Answers (1)

Drew
Drew

Reputation: 30701

Those are not backup files; they are auto-save files. If you do not want Emacs to auto-save buffers then customize option auto-save-default to nil.

See the Emacs manual, node Auto Save Control.

Upvotes: 4

Related Questions