I would like to disable emacs lock files. Per this thread it is possible to do it with (setq create-lockfiles nil)
.
However, when I put this in my .emacs file and start up, the value of this variable (via describe-variable
) is t
. If I set it manually via set-variable
then it sticks and works as expected.
I'm using GNU Emacs 24.5.1, via the Goulet installer for windows. For what it's worth, I tried a fresh install of Emacs on a brand new PC (Win10) and it has the same issue. I also tried commenting out everything except this line in my config file, and it still failed to work.
Why would it not work if put at the end of my .emacs file? Is some other emacs package overwriting this (perhaps ESS)? Is there a way to set it permanently, after everything else is loaded?
Thanks