aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2001-09-24 12:09:26 +0000
committerDavid Aspinall2001-09-24 12:09:26 +0000
commit30ab650c6a1c36bbc078011557b9957fc083fd68 (patch)
tree87b3e22ef6fa5cf25d2240777af039dc2dbbbb72
parent84b2fd64f13c671ecc5f2fcd02d6fbbfe84c6347 (diff)
Add Lemma to exclusion for coq-goal-command-p.
-rw-r--r--coq/coq.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index ffc42aff..8a71696f 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -194,7 +194,8 @@
(defun coq-goal-command-p (str)
"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 "Definition.*:=" str))
+ (not (proof-string-match "Lemma.*:=" str))))
;; TODO : add the stuff to handle the "Correctness" command