[<<][emacs][>>][..]
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?

EDIT: /usr/share/emacs/site-lisp/erlang/erlang.el

(defvar erlang-input-ring-file-name "~/.erlang_history"
  "*When non-nil, file name used to store Erlang shell history information.")


in erlang-shell-mode:

          (setq comint-input-ring-file-name erlang-input-ring-file-name)
          (comint-read-input-ring t)

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?





[Reply][About]
[<<][emacs][>>][..]