fix(ruby): ruby REPL w/ robe
set-repl-handler! handlers have to return a buffer. Close: #7450 Co-authored-by: Zetagon <Zetagon@users.noreply.github.com>
This commit is contained in:
parent
1db96a1fdb
commit
68682ac012
2 changed files with 7 additions and 1 deletions
|
@ -13,3 +13,9 @@ open."
|
|||
(when (processp process)
|
||||
(kill-process (get-buffer-process inf-buffer))
|
||||
(kill-buffer inf-buffer)))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +ruby-robe-repl-handler ()
|
||||
"Start Robe and open a REPL (for `set-repl-handler!')."
|
||||
(robe-start)
|
||||
(robe-inf-buffer))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue