emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 7f8f32e7d0 154/265: Use 'point-min instead of the


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 7f8f32e7d0 154/265: Use 'point-min instead of the hardcoded value
Date: Sat, 9 Jul 2022 21:59:21 -0400 (EDT)

branch: elpa/inf-ruby
commit 7f8f32e7d0090c7a56cb92519dd13081a0b6b6a2
Author: Maxim Kashchenko <mkaschenko@me.com>
Commit: Maxim Kashchenko <mkaschenko@me.com>

    Use 'point-min instead of the hardcoded value
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index b24f72a0be..bbfb8b95c1 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -478,7 +478,7 @@ Then switch to the process buffer."
 (defun ruby-send-buffer ()
   "Send the current buffer to the inferior Ruby process."
   (interactive)
-  (ruby-send-region 1 (point-max)))
+  (ruby-send-region (point-min) (point-max)))
 
 (defun ruby-escape-single-quoted (str)
   "Escape single quotes, double quotes and newlines in STR."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]