diff options
author | Hendrik Tews <hendrik@askra.de> | 2012-09-12 12:33:13 +0000 |
---|---|---|
committer | Hendrik Tews <hendrik@askra.de> | 2012-09-12 12:33:13 +0000 |
commit | 4bce74dd1e4682086b9497ad3577c88b4a01df0c (patch) | |
tree | ba1a22f157102cd4fc05e79c17fc5ef91a0949b6 /coq | |
parent | 1e5fcb1a36df556dc7c0b8bac2b0b36a8e8d2743 (diff) |
treat #450 by requiring that proofs are started with Proof
Diffstat (limited to 'coq')
-rw-r--r-- | coq/coq.el | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -199,8 +199,14 @@ See also `coq-hide-additional-subgoals'." :group 'coq-config :package-version '(ProofGeneral . "4.2")) +;; Ignore all commands that start a proof. Otherwise "Proof" will appear +;; as superfluous node in the proof tree. Note that we cannot ignore Proof, +;; because, Fixpoint does not display the proof goal, see Coq bug #2776. (defcustom coq-proof-tree-ignored-commands-regexp - "^\\(Show\\)\\|\\(Locate\\)" + (concat "^\\(\\(Show\\)\\|\\(Locate\\)\\|" + "\\(Theorem\\)\\|\\(Lemma\\)\\|\\(Remark\\)\\|\\(Fact\\)\\|" + "\\(Corollary\\)\\|\\(Proposition\\)\\|\\(Definition\\)\\|" + "\\(Let\\)\\|\\(Fixpoint\\)\\|\\(CoFixpoint\\)\\)") "Regexp for `proof-tree-ignored-commands-regexp'." :type 'regexp :group 'coq-proof-tree) |