Skip to content

Commit

Permalink
Work around the new inf-ruby <-> rspec interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
dgutov committed May 9, 2024
1 parent e8c86ee commit 6bc8a07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion robe.el
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ When called with a prefix argument, kills the current Ruby
process, if any, and starts a new console for the current
project."
(interactive "P")
(defvar inf-ruby-interact-with-fromcomp)
(let* ((ruby-buffer (robe-inf-buffer))
(process (get-buffer-process ruby-buffer)))
(when (or force (not process))
Expand All @@ -154,7 +155,8 @@ project."
(set-window-configuration conf))
(error "Aborted"))))
(when (not (robe-running-p))
(let* ((proc (inf-ruby-proc))
(let* ((inf-ruby-interact-with-fromcomp nil)
(proc (inf-ruby-proc))
started failed
(comint-filter (process-filter proc))
(tmp-filter (lambda (p s)
Expand Down

0 comments on commit 6bc8a07

Please sign in to comment.