summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-01-06 17:23:26 -0800
committerGlenn Morris <rgm@gnu.org>2013-01-06 17:23:26 -0800
commit06364e6463b654038ca3290fec6a37d1ca69700c (patch)
tree8967782f93afb605c8d83b551076251133cab147 /lisp/progmodes/compile.el
parent236a8f0cc08f7393b606e31041e12f04c8d4b517 (diff)
downloademacs-06364e6463b654038ca3290fec6a37d1ca69700c.tar.gz
* lisp/progmodes/compile.el (compilation-parse-errors): Fix typo.
Fixes: debbugs:13369
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 9fffeaaabe2..f383e02bc7f 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)))))