aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2012-01-09 16:52:25 +0000
committerDavid Aspinall2012-01-09 16:52:25 +0000
commit527463db94b95e136637709561e07e59f06298c6 (patch)
tree99a263270f90f7962e57f548a0f27c058e79976c
parentf74a9efeb59b7ea8150fea829c3f092a18c44352 (diff)
proof-shell-start-goals-regexp: shy match to avoid introducing match group
-rw-r--r--coq/coq.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 768e8c6e..7e547d68 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -1296,7 +1296,7 @@ This is specific to `coq-mode'."
proof-shell-result-start "\372 Pbp result \373"
proof-shell-result-end "\372 End Pbp result \373"
- proof-shell-start-goals-regexp "^\\((dependent evars:[^)]*)\\s-+\\)?[0-9]+ subgoals?"
+ proof-shell-start-goals-regexp "^\\(?:(dependent evars:[^)]*)\\s-+\\)?[0-9]+ subgoals?"
proof-shell-end-goals-regexp
(if coq-hide-additional-subgoals
(setq proof-shell-end-goals-regexp coq-end-goals-regexp-hide-subgoals)