aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1998-09-03 16:26:59 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1998-09-03 16:26:59 +0000
commit6de639f1515f60cf0a47a1b976d9e8504fdb872e (patch)
tree0db74a705f73bbbf51359ac654d10501a07dbea2 /coq
parent76440e747b70db646effbd6288c78d4aa04eb0b0 (diff)
Added some defcustom support
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el23
1 files changed, 18 insertions, 5 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 3a34ab19..c8d13a74 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -11,11 +11,19 @@
; Configuration
+(setq tag-always-exact t) ; Tags is unusable with Coq library otherwise:
+
+(defgroup coq-settings nil
+ "Customization of Coq specific settings for proof mode."
+ :group 'proof)
+
(defvar coq-assistant "Coq"
"Name of proof assistant")
-(defvar coq-tags "/usr/local/lib/coq/theories/TAGS"
- "the default TAGS table for the Coq library")
+(defcustom coq-tags "/usr/local/lib/coq/theories/TAGS"
+ "the default TAGS table for the Coq library"
+ :type 'string
+ :group 'coq-settings)
(defconst coq-process-config nil
"Command to configure pretty printing of the Coq process for emacs.")
@@ -23,12 +31,17 @@
(defconst coq-interrupt-regexp "Interrupted"
"Regexp corresponding to an interrupt")
-(defvar coq-default-undo-limit 100
- "Maximum number of Undo's possible when doing a proof.")
+(defcustom coq-default-undo-limit 100
+ "Maximum number of Undo's possible when doing a proof."
+ :type 'number
+ :group 'coq-settings)
;; ----- web documentation
-(defvar coq-www-home-page "http://pauillac.inria.fr/coq/")
+(defcustom coq-www-home-page "http://pauillac.inria.fr/coq/"
+ "Coq home page URL."
+ :type 'string
+ :group 'coq-settings)
;; ----- coq-shell configuration options