branch: elpa/inf-ruby
commit 89147d2ab127915a83c07cca6e74a8203eaf97a6
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
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)))