aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-syntax.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2015-02-04 09:42:59 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2015-02-04 09:42:59 +0000
commit22a56755cfd4d7acd5a4e59ecf14626e26c7b23a (patch)
treeed897b3b6febd2ae3c972ee9a10ec2774cb87326 /coq/coq-syntax.el
parentc19b4a336325571fc6748b4d110b43ec1045eef3 (diff)
Fixed previous commit (wrong regexp).
Diffstat (limited to 'coq/coq-syntax.el')
-rw-r--r--coq/coq-syntax.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el
index 761cc51e..137062eb 100644
--- a/coq/coq-syntax.el
+++ b/coq/coq-syntax.el
@@ -1058,7 +1058,7 @@ It is used:
(cons coq-error-regexp 'proof-error-face)
(cons (proof-regexp-alt-list-symb (list "In environment" "The term" "has type")) 'proof-error-face)
(cons (proof-regexp-alt-list-symb (list "Set" "Type" "Prop")) 'font-lock-type-face)
- (cons "^[^\n:()]+:" 'proof-declaration-name-face)
+ (cons "^ *[^\n :()]+ *:" 'proof-declaration-name-face)
(list "^\\([^ \n]+\\) \\(is defined\\)"
(list 1 'font-lock-function-name-face t)))))
@@ -1066,7 +1066,7 @@ It is used:
(append
coq-font-lock-terms
(list
- (cons "^[^\n:()]+:" 'proof-declaration-name-face)
+ (cons "^ *[^ \n:()=]+ *:" 'proof-declaration-name-face)
(cons (proof-regexp-alt-list-symb (list "Set" "Type" "Prop")) 'font-lock-type-face))))