Fri Aug 19 10:23:36 EDT 2016
erlang mode should not read/write ~/.erlang_history
This messes up multiple erlang sessions -- don't want them to share commands.
I had this figured out... Why does it keep appearing?
(defvar erlang-input-ring-file-name "~/.erlang_history"
"*When non-nil, file name used to store Erlang shell history information.")
(setq comint-input-ring-file-name erlang-input-ring-file-name)
This sets comint input ring from a file name as long as the -file-name
variable is non-nil.
Solution should be:
(setq erlang-input-ring-file-name nil)
Or a variable that is derived from the "current project".
Is the directory know at that point?