branch: elpa/inf-ruby
commit 5282d1d7e8211ed194c3a6080835accd3aa81d92
Author: Jury Paliakou <x...@icloud.com>
Commit: GitHub <nore...@github.com>

    Enable compilation workflow for ruby-quit
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 3a0d6d9198..607227a493 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -721,7 +721,7 @@ Optionally provide FILE and LINE metadata to Ruby."
 (defun ruby-quit ()
   "Send `exit' to the inferior Ruby process"
   (interactive)
-  (ruby-send-string "exit")
+  (process-send-string (inf-ruby-proc) "exit\r")
   (let ((buffer (process-buffer (inf-ruby-proc))))
     (when (buffer-local-value 'inf-ruby-orig-compilation-mode
                               buffer)

Reply via email to