diff options
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r-- | lisp/progmodes/compile.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 4194d363a3d..f6c43e2c392 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1280,7 +1280,7 @@ to `compilation-error-regexp-alist' if RULES is nil." ;; whether or not omake's own error messages are recognized. (cond ((not (memq 'omake compilation-error-regexp-alist)) nil) - ((string-match "\\`\\([^^]\\|^\\( \\*\\|\\[\\)\\)" pat) + ((string-match "\\`\\([^^]\\|\\^\\( \\*\\|\\[\\)\\)" pat) nil) ;; Not anchored or anchored but already allows empty spaces. (t (setq pat (concat "^ *" (substring pat 1))))) |