branch: elpa/inf-ruby
commit 3718cb6e3663fc551037ed0654e87677e2ff2a02
Merge: c3049d5b0c 5282d1d7e8
Author: Dmitry Gutov <dmi...@gutov.dev>
Commit: GitHub <nore...@github.com>

    Merge pull request #186 from x3qt/patch-2
    
    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