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

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

[nongnu] elpa/inf-ruby 2598a06923 164/265: Updating docstrings to follow


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 2598a06923 164/265: Updating docstrings to follow Emacs' conventions
Date: Sat, 9 Jul 2022 21:59:22 -0400 (EDT)

branch: elpa/inf-ruby
commit 2598a069234b2bc1ac20341f16293ac3ab12d3c5
Author: Daniel Luna <dancluna@gmail.com>
Commit: Daniel Luna <dancluna@gmail.com>

    Updating docstrings to follow Emacs' conventions
---
 inf-ruby.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 64e6a7b89c..142433d8e0 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -736,13 +736,13 @@ Gemfile, it should use the `gemspec' instruction."
     (run-ruby "bundle exec racksh" "racksh")))
 
 (defun inf-ruby-in-ruby-compilation-modes (mode-var)
-  "Checks if MODE-VAR is a ruby compilation mode"
+  "Check if MODE-VAR is a ruby compilation mode"
   (member mode-var '(rspec-compilation-mode
                      ruby-compilation-mode
                      projectile-rails-server-mode)))
 
 (defun inf-ruby-auto-enter ()
-  "Automatically enters inf-ruby mode when it sees a breakpoint-indicating 
pattern."
+  "Automatically enter inf-ruby mode if the breakpoint pattern matches the 
current line."
   (when (inf-ruby-in-ruby-compilation-modes major-mode)
     (save-excursion
       (beginning-of-line)
@@ -751,8 +751,7 @@ Gemfile, it should use the `gemspec' instruction."
         (inf-ruby-switch-from-compilation)))))
 
 (defun inf-ruby-auto-exit (input)
-  "Checks if the current input is a debugger exit command and returns
-to the previous compilation mode if t."
+  "Check the current input is a debugger exit command and return to the 
previous compilation mode if t."
   (when (inf-ruby-in-ruby-compilation-modes inf-ruby-orig-compilation-mode)
     (if (member input '("quit" "exit" ""))
         (inf-ruby-maybe-switch-to-compilation))))



reply via email to

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