diff options
| author | Hendrik Tews | 2012-05-26 12:53:25 +0000 |
|---|---|---|
| committer | Hendrik Tews | 2012-05-26 12:53:25 +0000 |
| commit | f3953584ef833db71d937e781f5d8c565cc7adb7 (patch) | |
| tree | 86011081bd8b3473526a66ceba9dbe1c5a8d6231 | |
| parent | d522a3ec26e8026fbb8d7b86749991a21ee7bc9b (diff) | |
another hide additional subgoals fix
| -rw-r--r-- | coq/coq.el | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -176,12 +176,6 @@ On Windows you might need something like: :type 'string :group 'coq) -(defcustom coq-end-goals-regexp-hide-subgoals "\nsubgoal 2 " - "Regexp for `proof-shell-end-goals-regexp' when hiding additional subgoals. -See also `coq-hide-additional-subgoals'." - :type '(choice regexp (const nil)) - :group 'coq) - (defcustom coq-end-goals-regexp-show-subgoals "\n(dependent evars:" "Regexp for `proof-shell-end-goals-regexp' when showing all subgoals. A setting of nil means show all output from Coq. See also @@ -189,6 +183,12 @@ A setting of nil means show all output from Coq. See also :type '(choice regexp (const nil)) :group 'coq) +(defcustom coq-end-goals-regexp-hide-subgoals + (concat "\\(\nsubgoal 2 \\)\\|\\(" coq-end-goals-regexp-show-subgoals "\\)") + "Regexp for `proof-shell-end-goals-regexp' when hiding additional subgoals. +See also `coq-hide-additional-subgoals'." + :type '(choice regexp (const nil)) + :group 'coq) ;; ;; prooftree customization |
