aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar Assia Mahboubi <assia.mahboubi@inria.fr>2008-01-30 13:19:51 +0000
committerGravatar Assia Mahboubi <assia.mahboubi@inria.fr>2008-01-30 13:19:51 +0000
commit1021abe5f58aed0e35229007b6b051dccfc32fc7 (patch)
tree5b0a2d57bc17592de716bc96467401ea7ebc1a43 /coq
parent5fba9716c356320b3a8c26523a364c1defd39b0f (diff)
coq : sorry, reverting previous buggy customization
Diffstat (limited to 'coq')
-rw-r--r--coq/coq-syntax.el17
1 files changed, 2 insertions, 15 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el
index 6bdf364b..efb65114 100644
--- a/coq/coq-syntax.el
+++ b/coq/coq-syntax.el
@@ -911,7 +911,7 @@ Used by `coq-goal-command-p'"
(defun coq-first-abstr-regexp (paren end)
(concat paren "\\s-*\\(" coq-ids "\\)\\s-*" end))
-(defvar coq-font-lock-terms-1
+(defvar coq-font-lock-terms
(list
;; lambda binders
(list (coq-first-abstr-regexp "\\<fun\\>" "\\(?:=>\\|:\\)") 1 'font-lock-variable-name-face)
@@ -926,16 +926,6 @@ Used by `coq-goal-command-p'"
)
"*Font-lock table for Coq terms.")
- (defcustom coq-variable-highlight-enable t
- "If non-nil, tries to highlight variables of functions and theorems with
- font-lock-variable-name-face"
- :type 'boolean
- :group 'coq)
-
-
- (defvar coq-font-lock-terms
- (if coq-variable-highlight-enable coq-font-lock-terms-1 'nil))
-
;; According to Coq, "Definition" is both a declaration and a goal.
;; It is understood here as being a goal. This is important for
@@ -959,13 +949,10 @@ Used by `coq-goal-command-p'"
(concat "\\(" (proof-ids-to-regexp coq-keywords-goal)
"\\)\\s-+\\(" coq-id "\\)\\s-*:?"))
-(defconst coq-decl-with-hole-regexp-1
+(defconst coq-decl-with-hole-regexp
(concat "\\(" (proof-ids-to-regexp coq-keywords-decl)
"\\)\\s-+\\(" coq-ids "\\)\\s-*:"))
-(defconst coq-decl-with-hole-regexp
- (if coq-variable-highlight-enable coq-decl-with-hole-regexp-1 'nil))
-
(defconst coq-defn-with-hole-regexp
(concat "\\(" (proof-ids-to-regexp coq-keywords-defn)
"\\)\\s-+\\(" coq-id "\\)"))