From 0183328a0c3ef91ec3c2e74d77684db2d996574f Mon Sep 17 00:00:00 2001 From: Hendrik Tews Date: Fri, 14 Sep 2012 10:07:26 +0000 Subject: adjust proof-tree regexp for focused subgoals --- coq/coq.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3