aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar Hendrik Tews <hendrik@askra.de>2012-09-14 10:07:26 +0000
committerGravatar Hendrik Tews <hendrik@askra.de>2012-09-14 10:07:26 +0000
commit0183328a0c3ef91ec3c2e74d77684db2d996574f (patch)
treee7a3ec28c210a2a291f7ca419ecc50a427ad6e27 /coq
parent4bce74dd1e4682086b9497ad3577c88b4a01df0c (diff)
adjust proof-tree regexp for focused subgoals
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index d260ef48..a9fcb429 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -224,7 +224,8 @@ See also `coq-hide-additional-subgoals'."
:group 'coq-proof-tree)
(defcustom coq-proof-tree-current-goal-regexp
- (concat "^[0-9]+ subgoal\\(?:s, subgoal 1\\)? "
+ (concat "^[0-9]+ \\(?:focused \\)?subgoal\\(?:s\\)?"
+ "\\(?: (unfocused: [0-9]+)\\)?\\(?:\\s-*, subgoal 1\\)? "
"(ID \\([0-9]+\\))\n\\s-*\n\\(\\(?:.+\n\\)*\\)\\(?:\n\\|$\\)")
"Regexp for `proof-tree-current-goal-regexp'."
:type 'regexp