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

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

[nongnu] elpa/inf-ruby 8fa68039c8 160/265: Improving inf-ruby-breakpoint


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 8fa68039c8 160/265: Improving inf-ruby-breakpoint-pattern and in-ruby-compilation-modes
Date: Sat, 9 Jul 2022 21:59:22 -0400 (EDT)

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

    Improving inf-ruby-breakpoint-pattern and in-ruby-compilation-modes
    docstring
---
 inf-ruby.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 1cff6b211c..472f133840 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -635,8 +635,8 @@ one of the predicates matches, then calls 
`inf-ruby-console-NAME',
 passing it the found directory.")
 
 (defvar inf-ruby-breakpoint-pattern "\\(\\[1\\] pry(\\)\\|\\((rdb:1)\\)"
-  "Pattern to check if the current line indicates the current compilation mode
-entered a breakpoint")
+  "Pattern found when a breakpoint is triggered in a compilation session.
+This checks if the current line is a pry or ruby-debug prompt.")
 
 (defun inf-ruby-console-match (dir)
   "Find matching console command for DIR, if any."
@@ -736,7 +736,7 @@ Gemfile, it should use the `gemspec' instruction."
     (run-ruby "bundle exec racksh" "racksh")))
 
 (defmacro in-ruby-compilation-modes (mode-var &rest body)
-  "Checks if we're in a ruby compilation mode, and runs BODY in an
+  "Checks if MODE-VAR is a ruby compilation mode, and runs BODY in an
 implicit progn if t."
   `(when (member ,mode-var '(rspec-compilation-mode
                               ruby-compilation-mode



reply via email to

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