diff options
| author | David Aspinall | 2002-08-31 13:04:10 +0000 |
|---|---|---|
| committer | David Aspinall | 2002-08-31 13:04:10 +0000 |
| commit | cb48d3cf0936a350fe0d1b7527f08440c18258be (patch) | |
| tree | 36d56749ba31f0724927ae5038586b33f494e9c7 /coq | |
| parent | 267c47d5d5a31f652e50ae03961906ec0c49bb85 (diff) | |
Improved implementation of zap-commas font lock behaviour, patch from Stefan Monnier
Diffstat (limited to 'coq')
| -rw-r--r-- | coq/coq-syntax.el | 4 | ||||
| -rw-r--r-- | coq/coq.el | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el index dce173e2..e8f1fe64 100644 --- a/coq/coq-syntax.el +++ b/coq/coq-syntax.el @@ -455,7 +455,9 @@ Idtac (Nop) tactic, put the following line in your .emacs: (list coq-goal-with-hole-regexp 2 'font-lock-function-name-face) (list coq-decl-with-hole-regexp 2 'font-lock-variable-name-face) (list coq-defn-with-hole-regexp 2 'font-lock-function-name-face) - (list coq-save-with-hole-regexp 2 'font-lock-function-name-face)))) + (list coq-save-with-hole-regexp 2 'font-lock-function-name-face) + ;; Remove spurious variable and function faces on commas. + '(proof-zap-commas)))) (defvar coq-font-lock-keywords coq-font-lock-keywords-1) (defun coq-init-syntax-table () @@ -680,8 +680,6 @@ This is specific to coq-mode." (setq font-lock-keywords coq-font-lock-keywords-1) - (setq proof-font-lock-zap-commas t) ; enable the painful hack - (proof-config-done) ;; outline |
