[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby 5e9912fadb 002/265: Allow sending code from non-f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby 5e9912fadb 002/265: Allow sending code from non-file buffers. |
Date: |
Sat, 9 Jul 2022 21:59:09 -0400 (EDT) |
branch: elpa/inf-ruby
commit 5e9912fadb09a77f00a854510a01e9eda2334abf
Author: Cornelius Mika <cornelius.mika@gmail.com>
Commit: Cornelius Mika <cornelius.mika@gmail.com>
Allow sending code from non-file buffers.
---
inf-ruby.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 182d93a32d..698825bf1c 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -224,7 +224,7 @@ Must not contain ruby meta characters.")
(defun ruby-send-region (start end)
"Send the current region to the inferior Ruby process."
(interactive "r")
- (let (term (file (buffer-file-name)) line)
+ (let (term (file (or buffer-file-name (buffer-name))) line)
(save-excursion
(save-restriction
(widen)
- [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, 2022/07/09
- [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 <=
- [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, 2022/07/09