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

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

[nongnu] elpa/rust-mode 0a81930 041/486: extend file regexp to match fil


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 0a81930 041/486: extend file regexp to match files with embedded spaces.
Date: Sat, 7 Aug 2021 09:24:44 -0400 (EDT)

branch: elpa/rust-mode
commit 0a81930050aae32ed800a4e801924216beea353c
Author: Felix S. Klock II <pnkfelix@pnkfx.org>
Commit: Felix S. Klock II <pnkfelix@pnkfx.org>

    extend file regexp to match files with embedded spaces.
---
 rust-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-mode.el b/rust-mode.el
index af1c28b..4c257e9 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -229,7 +229,7 @@ The initializer is `DEFAULT-TAB-WIDTH'.")
 ;; regexp (which is broken on a few edge cases), add our own 'rust
 ;; compilation error regexp and use it instead.
 (defvar rustc-compilation-regexps
-  (let ((file "\\([^ \n]+\\)")
+  (let ((file "^\\([^\n]+\\)")
         (start-line "\\([0-9]+\\)")
         (start-col  "\\([0-9]+\\)")
         (end-line   "\\([0-9]+\\)")



reply via email to

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