aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohn muhl2025-08-27 00:04:56 +0300
committerDmitry Gutov2025-08-27 00:09:41 +0300
commit6b0b70233a2a29d3d4ea83b0ea07b337271c0d5f (patch)
treef7c3c575cdd0c493d67b0887fd558eef6f35f21f
parentff83b735f94359a602ac543c13492178d70b1bc3 (diff)
downloademacs-6b0b70233a2a29d3d4ea83b0ea07b337271c0d5f.tar.gz
emacs-6b0b70233a2a29d3d4ea83b0ea07b337271c0d5f.zip
; ruby-flymake-simple: Only match relative file name (bug#79257)
-rw-r--r--lisp/progmodes/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 5c8a4025419..0a6ead870a7 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2516,7 +2516,7 @@ A slash character after any of these should begin a regexp."))
2516 (goto-char (point-min)) 2516 (goto-char (point-min))
2517 (cl-loop 2517 (cl-loop
2518 while (search-forward-regexp 2518 while (search-forward-regexp
2519 "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" 2519 "^\\(?:ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$"
2520 nil t) 2520 nil t)
2521 for msg = (match-string 2) 2521 for msg = (match-string 2)
2522 for (beg . end) = (flymake-diag-region 2522 for (beg . end) = (flymake-diag-region