branch: elpa/inf-ruby
commit b5aa6c51fe137441d33e12bacc56592af1885558
Author: Cornelius Mika <[email protected]>
Commit: Cornelius Mika <[email protected]>

    [Refactor] Use defsubst for 'inf-ruby-fix-completions-on-windows'
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 687f9329a0..c982c4cc49 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -329,7 +329,7 @@ Then switch to the process buffer."
     (replace-regexp-in-string "\n" "\\\\n"
       (replace-regexp-in-string "\\\\" "\\\\\\\\" str))))
 
-(defun inf-ruby-fix-completions-on-windows ()
+(defsubst inf-ruby-fix-completions-on-windows ()
   "On Windows, the string received by `accept-process-output'
 starts with the last line that was sent to the Ruby process.
 The reason for this is unknown. Remove this line from `completions'."

Reply via email to