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

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

[nongnu] elpa/inf-ruby a4c766e605 231/265: Use pry_instance, _pry_ is no


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby a4c766e605 231/265: Use pry_instance, _pry_ is not in Pry 0.13 anymore
Date: Sat, 9 Jul 2022 21:59:28 -0400 (EDT)

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

    Use pry_instance, _pry_ is not in Pry 0.13 anymore
    
    Fixes #132
---
 inf-ruby.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inf-ruby.el b/inf-ruby.el
index 8634ffb56a..e8ef9c0871 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -645,6 +645,8 @@ Then switch to the process buffer."
                    "      OpenStruct.new(:line_buffer => line)) if old_wp;"
                    "    if defined?(_pry_.complete) then"
                    "      puts _pry_.complete(expr)"
+                   "    elsif defined?(pry_instance.complete) then"
+                   "      puts pry_instance.complete(expr)"
                    "    else"
                    "      completer = if defined?(_pry_) then"
                    "        
Pry.config.completer.build_completion_proc(binding, _pry_)"



reply via email to

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