Improve the compilation error regexp

This commit is contained in:
Jeremy Dormitzer 2021-01-29 09:45:02 -05:00
parent 21bbb489c8
commit 29bbceeb31

View File

@ -6501,7 +6501,7 @@ Recognize text of the form <filename>:<line number> as a compilation
error:
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'compile
(add-to-list 'compilation-error-regexp-alist '("\\(.+\\):\\([[:digit:]]+\\)$" 1 2)))
(add-to-list 'compilation-error-regexp-alist '("\\([^[:space:]]+\\):\\([[:digit:]]+\\)$" 1 2)))
#+END_SRC