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

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

[nongnu] elpa/inf-ruby b5aa6c51fe 027/265: [Refactor] Use defsubst for '


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby b5aa6c51fe 027/265: [Refactor] Use defsubst for 'inf-ruby-fix-completions-on-windows'
Date: Sat, 9 Jul 2022 21:59:11 -0400 (EDT)

branch: elpa/inf-ruby
commit b5aa6c51fe137441d33e12bacc56592af1885558
Author: Cornelius Mika <cornelius.mika@gmail.com>
Commit: Cornelius Mika <cornelius.mika@gmail.com>

    [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

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