[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby dac615c7fd: ruby-send-last-stmt: When on empty li
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby dac615c7fd: ruby-send-last-stmt: When on empty line, evaluate the previous |
Date: |
Sat, 27 Jan 2024 15:59:38 -0500 (EST) |
branch: elpa/inf-ruby
commit dac615c7fdbb57587465b1c497f8be4c979439e1
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
ruby-send-last-stmt: When on empty line, evaluate the previous
---
inf-ruby.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/inf-ruby.el b/inf-ruby.el
index e4a4a9c832..f685eeba7e 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -742,6 +742,7 @@ Optionally provide FILE and LINE metadata to Ruby."
(interactive "P")
(let (beg)
(save-excursion
+ (skip-chars-backward " \t\n")
(cond
((and (derived-mode-p 'ruby-mode)
(bound-and-true-p smie-rules-function))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/inf-ruby dac615c7fd: ruby-send-last-stmt: When on empty line, evaluate the previous,
ELPA Syncer <=