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

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

[nongnu] elpa/inf-ruby a986a1a8c6 260/265: Fix broken behaviour on load-


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby a986a1a8c6 260/265: Fix broken behaviour on load-current-ruby-file fn
Date: Sat, 9 Jul 2022 21:59:31 -0400 (EDT)

branch: elpa/inf-ruby
commit a986a1a8c6680c8d175c49c14db4191ad621c51c
Author: tunnes <ayrton.tunes@outlook.com>
Commit: tunnes <ayrton.tunes@outlook.com>

    Fix broken behaviour on load-current-ruby-file fn
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index fecfcb7ce0..d8b0ba6e1c 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -783,7 +783,7 @@ Then switch to the process buffer."
 (defun ruby-load-current-file ()
   "Load the current ruby file into the inferior Ruby process."
   (interactive)
-  (ruby-load-file (buffer-name)))
+  (ruby-load-file (buffer-file-name)))
 
 (defun ruby-send-buffer ()
   "Send the current buffer to the inferior Ruby process."



reply via email to

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