I've noticed that emacs is leaving behind files in the directories of files I've edited with it. The files are named the same as the original, except the filename is preceeded and succeeded with a # character. For example, something like #file.c#
, for example (if the original file was named file.c
).
I've already disabled lockfiles and changed the default directory backup files are saved to in my init.el script, like so:
(setq create-lockfiles nil)
(setq backup-directory-alist `(("." . "~/.saves")))
So I'm wondering why these files are generated, what their purpose is, and if there's a way I can supress them/change where they are saved to.