Closed keram closed 1 year ago
This is interesting, my commit seems to have broken something. I've made one adjustment, but I will merge regardless as it could be a caching issues. It can be fixed later.
i have found the culprit. Will do a PR with a fix.
it is not specified by user using
idris-repl-history-file
variable.Why: Previously the
idris-repl-history-file
used as default hardcoded path~/.idris/idris-history.eld
. However the Idris 2 uses/creates~/.idris2
directory, meaning if an user with only Idris 2 installed tries to exit Emacs he is prompted with an error:This change also allows users with both Idris and Idris2 installed switch between them just by changing the interpreter variable and have separate repl histories for both version.