summaryrefslogtreecommitdiff
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
parent236a8f0cc08f7393b606e31041e12f04c8d4b517 (diff)
downloademacs-06364e6463b654038ca3290fec6a37d1ca69700c.tar.gz
* lisp/progmodes/compile.el (compilation-parse-errors): Fix typo.
Fixes: debbugs:13369
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/compile.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 54ce07b1fb2..1d045425720 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-07 Glenn Morris <rgm@gnu.org>
+
+ * progmodes/compile.el (compilation-parse-errors):
+ Fix typo. (Bug#13369)
+
2013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
* comint.el (comint-send-input): Check size of buffer before
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)))))