js-comint
js-comint copied to clipboard
Customization for Windows
It might be useful to add the following to the documentation, when using js-comint on Windows.
This disables nodes own readline:
(setenv "NODE_NO_READLINE" "1")
See the discussion on Stackoverflow
And this sets the executable. Otherwise js-comint will search just for node without the .exe extension.
(setq inferior-js-program-command "C:/Program Files/nodejs/node.exe")
Thanks. I will update the documentation.
As I checked. js-comint runs (setenv "NODE_NO_READLINE" "1") automatically when starting repl.
83e932e doc and bugs (Chen Bin)