diff options
| author | David Aspinall | 2002-08-28 18:36:48 +0000 |
|---|---|---|
| committer | David Aspinall | 2002-08-28 18:36:48 +0000 |
| commit | 13c6c7074fa4d11de81ab5bae31723fd1d731182 (patch) | |
| tree | 034835962bf77f10e9674bd56149aa336f125ee5 | |
| parent | c6990e8fdb723f3aa4f746e2a424f57bd592d236 (diff) | |
Patch from Stefan Monnier for syntax highlighting.
| -rw-r--r-- | coq/coq-syntax.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el index 6811e1b3..9b533aba 100644 --- a/coq/coq-syntax.el +++ b/coq/coq-syntax.el @@ -78,7 +78,7 @@ Require, Definition, etc). For example if MyHint and MyRequire are user defined variants of the Hint and Require commands, put the following line in your .emacs: -(setq coq-user-state-changing-commands + (setq coq-user-state-changing-commands '(\"MyHint\" \"MyRequire\")) " ) @@ -92,7 +92,7 @@ Print, Check, Show etc). For example if MyPrint and MyCheck are user defined variants of the Print and Check commands, put the following line in your .emacs: -(setq coq-user-state-preserving-commands + (setq coq-user-state-preserving-commands '(\"MyPrint\" \"MyCheck\")) " ) @@ -246,7 +246,7 @@ all tactics, but \"Idtac\" (\"Proof\" is a command actually)). For example if MyIntro and MyElim are user defined variants of the Intro and Elim tactics, put the following line in your .emacs: -(setq coq-user-state-changing-tactics + (setq coq-user-state-changing-tactics '(\"MyIntro\" \"MyElim\")) " ) @@ -358,7 +358,7 @@ the user defined Coq tactics that do not need to be backtracked (like For example if MyIdtac and Do_nthing are user defined variants of the Idtac (Nop) tactic, put the following line in your .emacs: -(setq coq-user-state-preserving-tactics + (setq coq-user-state-preserving-tactics '(\"MyIdtac\" \"Do_nthing\")) " ) @@ -491,8 +491,7 @@ Idtac (Nop) tactic, put the following line in your .emacs: "\\)\\s-+\\(" coq-ids "\\)\\s-*[:]")) (defconst coq-defn-with-hole-regexp (concat "\\(" (proof-ids-to-regexp coq-keywords-defn) - "\\)\\s-+\\(" coq-id "\\)\\s-*[:]")) - + "\\)\\s-+\\(" coq-id "\\)\\s-*[[:]")) (defvar coq-font-lock-keywords-1 (append coq-font-lock-terms |
