Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion psci.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
(require 'comint)
(require 'dash)
(require 'purescript-font-lock)
(require 'cl-lib)

;; constants or variables

Expand Down Expand Up @@ -133,7 +134,7 @@ Otherwise, just return PATH."
;; public functions

;;;###autoload
(defun psci (project-root-folder)
(cl-defun psci (&optional (project-root-folder (psci--project-root!)))
"Run an inferior instance of \"psci\" inside Emacs, in PROJECT-ROOT-FOLDER.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, could you please elaborate a little bit more, how does this change help making repl-toggle work? More specifically, what was the problem initially, and how does this commit help with it?

I think it might be useful to write that in the commit.

If not supplied, the root folder will be guessed using
`projectile-project-root' (if available), otherwise it will
Expand Down