Skip to content

Commit

Permalink
Reset Idris working directory on closing idris connection
Browse files Browse the repository at this point in the history
Why:
To ensure the state is correctly updated after reconnection.
  • Loading branch information
keram committed Dec 11, 2022
1 parent ef67682 commit 4f654a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions idris-commands.el
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@ https://github.com/clojure-emacs/cider"
(setq idris-loaded-region-overlay nil)))
(idris-prover-end)
(idris-kill-buffers)
(setq idris-process-current-working-directory nil)
(setq idris-protocol-version 0
idris-protocol-version-minor 0)))

Expand Down

0 comments on commit 4f654a8

Please sign in to comment.