[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby 3718cb6e36 2/3: Merge pull request #186 from x3qt
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby 3718cb6e36 2/3: Merge pull request #186 from x3qt/patch-2 |
Date: |
Wed, 8 May 2024 22:00:29 -0400 (EDT) |
branch: elpa/inf-ruby
commit 3718cb6e3663fc551037ed0654e87677e2ff2a02
Merge: c3049d5b0c 5282d1d7e8
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: GitHub <noreply@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)