Permalink
Browse files

Workaround to avoid getting garbage chars in the comint buffer.

  • Loading branch information...
1 parent 244d4b3 commit d06825bea62bffa7fd62428d7b468af62249c05b @fred-o fred-o committed Feb 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 coffee-mode.el
View
@@ -196,7 +196,8 @@ was called."
(unless (comint-check-proc "*CoffeeREPL*")
(set-buffer
(apply 'make-comint "CoffeeREPL"
- coffee-command nil coffee-args-repl)))
+ "env"
+ nil (append (list "NODE_NO_READLINE=1" coffee-command) coffee-args-repl))))
(pop-to-buffer "*CoffeeREPL*"))

0 comments on commit d06825b

Please sign in to comment.