Skip to content

Commit

Permalink
Bugfix to remove extraneous echoing.
Browse files Browse the repository at this point in the history
  • Loading branch information
balajis committed Jul 2, 2013
1 parent d5077c0 commit d0652ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .emacs.d/js-comint.el
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ is run).
;; BSS: node and node_emacs echo the command twice, rhino not at all.
;; Thus we need different settings here for different modes. Default is
;; to have this variable NOT turned on.
(if (or (equal inferior-js-program-command "node_emacs")
(equal inferior-js-program-command "node"))
(if (or (equal js-prog "node_emacs")
(equal js-prog "node"))
(setq comint-process-echoes t)
)

Expand Down Expand Up @@ -154,8 +154,8 @@ is run).
(interactive "r")

;; BSS: echo for node and node_emacs
(if (or (equal inferior-js-program-command "node_emacs")
(equal inferior-js-program-command "node"))
(if (or (equal js-prog "node_emacs")
(equal js-prog "node"))
(setq comint-process-echoes t)
)
(run-js inferior-js-program-command t)
Expand Down

0 comments on commit d0652ee

Please sign in to comment.