branch: elpa/inf-ruby
commit 505a7bc140173933f0b16d3bc13404ebe0d615fd
Merge: e91b349e4f 4d410007a2
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Merge pull request #84 from janpath/patch-1
Fix ruby-send-definition
---
inf-ruby.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 14a2141b3f..214d192e99 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -393,7 +393,7 @@ Must not contain ruby meta characters.")
"Send the current definition to the inferior Ruby process."
(interactive)
(save-excursion
- (ruby-end-of-defun)
+ (end-of-defun)
(let ((end (point)))
(ruby-beginning-of-defun)
(ruby-send-region (point) end))))