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

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

[nongnu] elpa/rust-mode d2e57a9 263/486: fix regex to account for `[E123


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode d2e57a9 263/486: fix regex to account for `[E123]`
Date: Sat, 7 Aug 2021 09:25:32 -0400 (EDT)

branch: elpa/rust-mode
commit d2e57a93743efc73928b6dfdc5e7574af938923b
Author: Niko Matsakis <niko@alum.mit.edu>
Commit: Niko Matsakis <niko@alum.mit.edu>

    fix regex to account for `[E123]`
---
 rust-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-mode.el b/rust-mode.el
index b0f8379..711bf20 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -1413,7 +1413,7 @@ See `compilation-error-regexp-alist' for help on their 
format.")
         (let ((start-of-error
                (save-excursion
                  (beginning-of-line)
-                 (while (not (looking-at "^[a-z]+:"))
+                 (while (not (looking-at "^[a-z]+:\\|^[a-z]+\\[E[0-9]+\\]:"))
                    (forward-line -1))
                  (point))))
           (set-window-start (selected-window) start-of-error))))))



reply via email to

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