diff options
| -rw-r--r-- | doc/misc/flymake.texi | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index d3a76c8c4d7..d6c8778d785 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi | |||
| @@ -858,7 +858,7 @@ Binding,,, elisp, The Emacs Lisp Reference Manual}) to be active. | |||
| 858 | ;; | 858 | ;; |
| 859 | (cl-loop | 859 | (cl-loop |
| 860 | while (search-forward-regexp | 860 | while (search-forward-regexp |
| 861 | "^\\(?:.*.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" | 861 | "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" |
| 862 | nil t) | 862 | nil t) |
| 863 | for msg = (match-string 2) | 863 | for msg = (match-string 2) |
| 864 | for (beg . end) = (flymake-diag-region | 864 | for (beg . end) = (flymake-diag-region |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 210c8efb6fc..d9044c03aea 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 | "^\\(?:.*.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" | 2519 | "^\\(?:.*\\.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 |
| @@ -2625,7 +2625,7 @@ the gem \"rubocop\". When t, it is used unconditionally." | |||
| 2625 | (goto-char (point-min)) | 2625 | (goto-char (point-min)) |
| 2626 | (cl-loop | 2626 | (cl-loop |
| 2627 | while (search-forward-regexp | 2627 | while (search-forward-regexp |
| 2628 | "^\\(?:.*.rb\\|-\\):\\([0-9]+\\):\\([0-9]+\\): \\(.*\\)$" | 2628 | "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\):\\([0-9]+\\): \\(.*\\)$" |
| 2629 | nil t) | 2629 | nil t) |
| 2630 | for msg = (match-string 3) | 2630 | for msg = (match-string 3) |
| 2631 | for (beg . end) = (flymake-diag-region | 2631 | for (beg . end) = (flymake-diag-region |