Emacs Lock Files

I get really annoyed when I’m working on something these days which requires constant recompliation and Emacs puts all these files with #’s in them.

What are those? Lock files.

What is a lock file? Something Emacs uses to detect if two instances of Emacs are editing the same file (either though a shared storage or two instances on the same computer).

I haven’t done it, but if you want you can disable it by putting this in your init.el

(setq create-lockfiles nil)

(Source: Stackexchange)