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

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

[nongnu] elpa/inf-ruby 7ed2b03c95 258/265: Check specifically than IRB.c


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 7ed2b03c95 258/265: Check specifically than IRB.conf is defined
Date: Sat, 9 Jul 2022 21:59:31 -0400 (EDT)

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

    Check specifically than IRB.conf is defined
    
    Fixes #156.
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 1cde3603c7..98788d64fb 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -469,7 +469,7 @@ See variable `inf-ruby-buffers'."
 Must not contain ruby meta characters.")
 
 (defconst inf-ruby-eval-binding
-  (concat "(defined?(IRB) && IRB.conf[:MAIN_CONTEXT] && 
IRB.conf[:MAIN_CONTEXT].workspace.binding) || "
+  (concat "(defined?(IRB.conf) && IRB.conf[:MAIN_CONTEXT] && 
IRB.conf[:MAIN_CONTEXT].workspace.binding) || "
           "(defined?(Pry) && Pry.toplevel_binding)"))
 
 (defconst ruby-eval-separator "")



reply via email to

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