From 58fc16063c452d8dc0198b949ff8c00e84942b4f Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 26 Apr 2021 15:59:06 +0200 Subject: [PATCH] * lisp/emacs-lisp/comp.el (comp-accept-and-process-async-output): Fix regexp. --- lisp/emacs-lisp/comp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index fd8a8c61cce..eebb77d993f 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3878,7 +3878,7 @@ processes from `comp-async-compilations'" (save-excursion (accept-process-output process) (goto-char (or comp-last-scanned-async-output (point-min))) - (while (re-search-forward "^.*+?\\(?:Error\\|Warning\\): .*$" + (while (re-search-forward "^.*?\\(?:Error\\|Warning\\): .*$" nil t) (display-warning 'comp (match-string 0))) (setq comp-last-scanned-async-output (point-max)))) -- 2.39.5