[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby c9a24aee52 005/265: Bugfix: Exclude input to IRB
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby c9a24aee52 005/265: Bugfix: Exclude input to IRB from the completion result. |
Date: |
Sat, 9 Jul 2022 21:59:09 -0400 (EDT) |
branch: elpa/inf-ruby
commit c9a24aee5203a907baa277543706abfefa1180f8
Author: Cornelius Mika <cornelius.mika@gmail.com>
Commit: Cornelius Mika <cornelius.mika@gmail.com>
Bugfix: Exclude input to IRB from the completion result.
The first element in 'kept' just mirrors the call to the IRB
completion system.
---
inf-ruby.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index fff3c6c716..d389bf10de 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -331,7 +331,7 @@ Then switch to the process buffer."
(ruby-escape-single-quoted seed)))
(while (not (string-match inf-ruby-prompt-pattern kept))
(accept-process-output proc))
(if (string-match "^[[:alpha:]]+?Error: " kept) (error kept))
- (setf completions (butlast (split-string kept "[\r\n]") 2))
+ (setf completions (cdr (butlast (split-string kept "[\r\n]") 2)))
(set-process-filter proc comint-filt)
completions))
- [nongnu] branch elpa/inf-ruby created (now 4ddf6b3889), ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c9a24aee52 005/265: Bugfix: Exclude input to IRB from the completion result.,
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 6ad10268b3 007/265: Bugfix: Remove meaningless error check which causes a more severe error in the first place by not restoring the comint-filter., ELPA Syncer, 2022/07/09
- [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