1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-09 08:21:30 -07:00

; ruby-flymake-simple: Only match relative file name (bug#79257)

This commit is contained in:
john muhl 2025-08-27 00:04:56 +03:00 committed by Dmitry Gutov
parent ff83b735f9
commit 6b0b70233a

View file

@ -2516,7 +2516,7 @@ A slash character after any of these should begin a regexp."))
(goto-char (point-min))
(cl-loop
while (search-forward-regexp
"^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$"
"^\\(?:ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$"
nil t)
for msg = (match-string 2)
for (beg . end) = (flymake-diag-region