diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2002-06-11 10:59:02 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2002-06-11 10:59:02 +0000 |
commit | c71cc870b134bc62201c6184488d14225852ab13 (patch) | |
tree | 056c805a06d96378a581c1fff18fe26180771e4b /coq | |
parent | ef1b6fd069272733ee9f06ba03215ef7702a1aa8 (diff) |
Set nested goals; include Lemma again in def of goal.
Diffstat (limited to 'coq')
-rw-r--r-- | coq/coq.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -198,7 +198,11 @@ "Decide whether argument is a goal or not" (and (proof-string-match coq-goal-command-regexp str) (not (proof-string-match "Definition.*:=" str)) - (not (proof-string-match "Lemma.*:=" str)))) + ;; da: 3.4 test: do not exclude Lemma: we want goal-command-p to + ;; succeed for nested goals too now. + ;; (should we also exclude Definition?) + ;; (not (proof-string-match "Lemma.*:=" str)))) + )) ;; TODO : add the stuff to handle the "Correctness" command @@ -518,6 +522,7 @@ This is specific to coq-mode." proof-kill-goal-command coq-kill-goal-command) (setq proof-goal-command-p 'coq-goal-command-p + proof-nested-goals-p t ;; da: new for 3.4 proof-count-undos-fn 'coq-count-undos proof-find-and-forget-fn 'coq-find-and-forget proof-goal-hyp-fn 'coq-goal-hyp |