aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2004-02-18 19:33:45 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2004-02-18 19:33:45 +0000
commitfb38b1c3ef26a7a3f7f3343418f918f6817aaf25 (patch)
tree4460374378f84db5917eab927b6656b854697a52 /coq/coq.el
parent8a50e54695813d47a6492624993300beccd7913d (diff)
Coq Abbrevs now make holes. I will add a menu with basic command.
Diffstat (limited to 'coq/coq.el')
-rw-r--r--coq/coq.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 2cb5fa53..117debb5 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -6,6 +6,7 @@
;; $Id$
(require 'proof)
+(require 'holes) ; in generic directory
;; coq-syntaxe is required below
;; ----- coq-shell configuration options
@@ -81,19 +82,21 @@
:type 'string
:group 'coq)
+
;; ----- coq specific menu
(defpgdefault menu-entries
- '(["expand abbrev at point" expand-abbrev t]
- ["list abbrevs" list-abbrevs t]
- ["3 buffers view" coq-three-b t]
- ["Print..." coq-Print t]
+ '(["Print..." coq-Print t]
["Check..." coq-Check t]
["Hints" coq-PrintHint t]
["Intros..." coq-Intros t]
["Show ith goal..." coq-Show t]
["Apply" coq-Apply t]
["Search isos/pattern..." coq-SearchIsos t]
+ ["expand abbrev at point" expand-abbrev t]
+ ["list abbrevs" list-abbrevs t]
+ ["What are those #??" (holes-short-doc)]
+ ["3 buffers view" coq-three-b t]
["Begin Section..." coq-begin-Section t]
["End Section" coq-end-Section t]
["Compile" coq-Compile t]))