emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby f892e6e74f 262/265: Set env var RUBY_DEBUG_NO_REL


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby f892e6e74f 262/265: Set env var RUBY_DEBUG_NO_RELINE
Date: Sat, 9 Jul 2022 21:59:31 -0400 (EDT)

branch: elpa/inf-ruby
commit f892e6e74ffdf9f80019cf85f4e128dc66359266
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Set env var RUBY_DEBUG_NO_RELINE
    
    Fixes #158, hopefully.
---
 inf-ruby.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index d8b0ba6e1c..a3f524533e 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -411,9 +411,10 @@ the buffer, defaults to \"ruby\"."
 
   (let ((commandlist (split-string-and-unquote command))
         (buffer (current-buffer))
-        (process-environment process-environment))
+        (process-environment (copy-sequence process-environment)))
     ;; http://debbugs.gnu.org/15775
     (setenv "PAGER" (executable-find "cat"))
+    (setenv "RUBY_DEBUG_NO_RELINE" "true")
     (set-buffer (apply 'make-comint-in-buffer
                        name
                        (inf-ruby-choose-buffer-name name)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]