[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby 4873a66a4d 054/265: inf-ruby-completions: Use 'th
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby 4873a66a4d 054/265: inf-ruby-completions: Use 'then' instead of semicolons |
Date: |
Sat, 9 Jul 2022 21:59:13 -0400 (EDT) |
branch: elpa/inf-ruby
commit 4873a66a4d9bcdf0f3885ac8d6c473b262e48f67
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
inf-ruby-completions: Use 'then' instead of semicolons
Because completion in debugger doesn't work otherwise.
---
inf-ruby.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 4b1468b832..cbe3cc595b 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -365,10 +365,10 @@ The reason for this is unknown. Remove this line from
`completions'."
(set-process-filter proc (lambda (proc string) (setq kept (concat kept
string))))
(process-send-string
proc
- (format (concat "if defined?(Pry.config);"
+ (format (concat "if defined?(Pry.config) then "
"completor =
Pry.config.completer.build_completion_proc(binding)"
- "elsif defined?(IRB::InputCompletor::CompletionProc);"
- "completor = IRB::InputCompletor::CompletionProc;"
+ " elsif defined?(IRB::InputCompletor::CompletionProc)
then "
+ "completor = IRB::InputCompletor::CompletionProc "
"end;"
"puts completor.call('%s').compact if completor\n")
(ruby-escape-single-quoted seed)))
- [nongnu] elpa/inf-ruby 5e9912fadb 002/265: Allow sending code from non-file buffers., (continued)
- [nongnu] elpa/inf-ruby 5e9912fadb 002/265: Allow sending code from non-file buffers., ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 13c0040b6e 009/265: Create non-indenting completion function 'inf-ruby-complete'., ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby b5aa6c51fe 027/265: [Refactor] Use defsubst for 'inf-ruby-fix-completions-on-windows', ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby fe0547b16d 032/265: [Refactor] Use 'kbd' macro for key bindings, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 60f9cfa181 001/265: Initial revision., ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c63972e2de 014/265: Package header: Don't require ruby-mode., ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 5fa2849dd0 028/265: Store non-whitespace input in the REPL history, regardless of character length., ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 89147d2ab1 056/265: inf-ruby-completions: Get rid of the last semicolon, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c08bb93df2 040/265: inf-ruby-load-file is not defined, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 90762203f3 055/265: inf-ruby-switch-from-compilation: Change the process filter, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 4873a66a4d 054/265: inf-ruby-completions: Use 'then' instead of semicolons,
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 7fc1e32ae7 050/265: Bump the version, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 530ac4f2fc 036/265: inf-ruby-mode: Modify the docstring, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 98fac55a80 049/265: Define inf-ruby-switch-from-compilation, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby fc1dffaeed 052/265: inf-ruby-prompt-format: Include debugger prompt, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby ebceb38165 058/265: inf-ruby-prompt-format: Fix not to match single operator chars, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c749e54eee 063/265: Support Bond completion, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby b12e05a6bb 068/265: Add funtion switching to compilation mode., ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 8fe1c3d80a 061/265: Bump the version, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby a6daf44f67 067/265: Changed 'bundle exec irb' to 'bundle console', ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby b767d52caf 066/265: inf-ruby-console-gem: Pass -r arguments in the bundle exec case, too, ELPA Syncer, 2022/07/09