aboutsummaryrefslogtreecommitdiff
path: root/coq
diff options
context:
space:
mode:
authorDavid Aspinall1999-11-12 16:33:52 +0000
committerDavid Aspinall1999-11-12 16:33:52 +0000
commitb23714933f1ad2c5e026b083771c479b65eecffa (patch)
tree9809b66d024c0d241be29e03f424d1f8952d1fc9 /coq
parent0d96b563682ca5e25d380e25f0e0948db7ae16d9 (diff)
Set font-lock-keywords before calling proof-config-done.
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/coq/coq.el b/coq/coq.el
index d09479a6..4608f2cd 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -446,7 +446,13 @@
(coq-init-syntax-table)
+;; font-lock
+
+ (setq font-lock-keywords coq-font-lock-keywords-1)
+ (and (boundp 'font-lock-always-fontify-immediately)
+ (setq font-lock-always-fontify-immediately t))
+
(proof-config-done)
;; Coq-specific key mappings
@@ -474,13 +480,6 @@
(setq blink-matching-paren-dont-ignore-comments t)
-;; font-lock
-
- (setq font-lock-keywords coq-font-lock-keywords-1)
-
- (and (boundp 'font-lock-always-fontify-immediately)
- (setq font-lock-always-fontify-immediately t))
-
;; hooks and callbacks
(add-hook 'proof-pre-shell-start-hook 'coq-pre-shell-start nil t))