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

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

[nongnu] elpa/inf-ruby 89147d2ab1 056/265: inf-ruby-completions: Get rid


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 89147d2ab1 056/265: inf-ruby-completions: Get rid of the last semicolon
Date: Sat, 9 Jul 2022 21:59:13 -0400 (EDT)

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

    inf-ruby-completions: Get rid of the last semicolon
    
    Again, for debugger.
---
 inf-ruby.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index bed1f126c4..04798a157e 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -369,8 +369,8 @@ The reason for this is unknown. Remove this line from 
`completions'."
                      "completor = 
Pry.config.completer.build_completion_proc(binding)"
                      " elsif defined?(IRB::InputCompletor::CompletionProc) 
then "
                      "completor = IRB::InputCompletor::CompletionProc "
-                     "end;"
-                     "puts completor.call('%s').compact if completor\n")
+                     "end and "
+                     "puts completor.call('%s').compact\n")
              (ruby-escape-single-quoted seed)))
     (while (and (not (string-match inf-ruby-prompt-pattern kept))
                 (accept-process-output proc 2)))



reply via email to

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