aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2003-02-12 16:18:50 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2003-02-12 16:18:50 +0000
commitc6ebd146613e4255127c6d1c8036bc4a60a9aac6 (patch)
treeaa7cb8f7f6df279e023e4d7a500e8c711c779460 /coq
parentef945c54b32e8536624ba1cda22eb2157d9e391c (diff)
Added the keyword "Local :=" to the coq-goal-command-p function, like
Definition.
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/coq/coq.el b/coq/coq.el
index b9c86556..1240eda5 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -235,6 +235,7 @@
(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 "Local.*:=" str))
(not (proof-string-match "Definition.*:=" str))
(not (proof-string-match "Module.*:=" str))
(not (proof-string-match "Declare Module.*:" str)) ;neither : or :=