[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby 5fa2f80d4e 057/265: inf-ruby-completions: Pass _p
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby 5fa2f80d4e 057/265: inf-ruby-completions: Pass _pry_ when it's defined |
Date: |
Sat, 9 Jul 2022 21:59:13 -0400 (EDT) |
branch: elpa/inf-ruby
commit 5fa2f80d4ea57a8237291635216e37a40d83d4fa
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
inf-ruby-completions: Pass _pry_ when it's defined
Should improve the completions in the current Pry context.
---
inf-ruby.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 04798a157e..ca09750fda 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -366,7 +366,8 @@ The reason for this is unknown. Remove this line from
`completions'."
(process-send-string
proc
(format (concat "if defined?(Pry.config) then "
- "completor =
Pry.config.completer.build_completion_proc(binding)"
+ "completor = Pry.config.completer"
+ ".build_completion_proc(binding, defined?(_pry_) &&
_pry_)"
" elsif defined?(IRB::InputCompletor::CompletionProc)
then "
"completor = IRB::InputCompletor::CompletionProc "
"end and "
- [nongnu] elpa/inf-ruby 0b27477d11 166/265: Tweak auto-enter and auto-exit to work better (or at all), (continued)
- [nongnu] elpa/inf-ruby 0b27477d11 166/265: Tweak auto-enter and auto-exit to work better (or at all), ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby db89398caa 173/265: Recognize byebug prompt, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby beb39ad5af 148/265: Define and use ruby-print-result, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 5c73e1a79c 143/265: Use INSIDE_EMACS, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 57b3419be3 175/265: Allow single quoted gemspec name, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 73e2142a99 194/265: Add new option inf-ruby-console-environment, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 7aa37e9154 199/265: Add ruby-send-line function, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 05984b3d24 201/265: inf-ruby-console-read-directory: Fix for predicates with wildcards, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 401f191d53 045/265: Touch up docstrings, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby d308394e7a 041/265: inf-ruby-output-filter: Ignore empty strings, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 5fa2f80d4e 057/265: inf-ruby-completions: Pass _pry_ when it's defined,
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 2c28bc9f57 060/265: inf-ruby-prompt-format: Include whitespace after rdb prompt, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c5d2178f17 072/265: Add a basic README, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 819e67542a 114/265: inf-ruby-console-gem: really skip directories under lib, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 441cda957c 101/265: Support completion in Pry 1.0.0.pre1, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 8c0aa0911b 118/265: Add "Bugs" section, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby b3747e9574 127/265: Merge pull request #59 from proofit404/master, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 9157d9c561 115/265: inf-ruby-console-gem: when gemspec doesn't modify LOAD_PATH, -I lib, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 4da1cca555 079/265: Set process filter in inf-ruby-switch-to-compilation, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby a960434970 096/265: run-ruby: write better docstring, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby dbb8d63324 082/265: Add missing license section to comment front-matter, ELPA Syncer, 2022/07/09