From 0a81930050aae32ed800a4e801924216beea353c Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Mon, 26 Aug 2013 02:28:27 +0200 Subject: 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]+\\)") -- cgit v1.2.3