aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2006-02-14 16:18:20 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2006-02-14 16:18:20 +0000
commit51e192563696d8d7d5d69422dd0e24e6bef4ee62 (patch)
tree62bdbe82c0ac6d3d6622386b6e8f1ad162c19a7d /coq/coq.el
parent9b6a1406ab83c50df29933b8061b53d060b45e96 (diff)
Add example settings for coq-prog-args and coq-prog-env
Diffstat (limited to 'coq/coq.el')
-rw-r--r--coq/coq.el15
1 files changed, 14 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index d887fe28..863cab4f 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -25,11 +25,24 @@
(defun proofstack () (coq-get-span-proofstack (span-at (point) 'type)))
;; End debugging
-(defcustom coq-prog-name "coqtop -emacs"
+(defcustom coq-prog-name
+ "coqtop"
+;; On Windows you might need something like:
+;; "C:/Program Files/Coq/bin/coqtop.opt.exe"
"*Name of program to run as Coq."
:type 'string
:group 'coq)
+;; List of arguments to pass to Coq process. Should contain -emacs.
+;; -translate will be added automatically to this list if `coq-translate-to-v8'
+;; is set.
+(setq coq-prog-args '("-emacs"))
+
+;; List of environment settings d to pass to Coq process.
+;; On Windows you might need something like:
+;; (setq coq-prog-env '("HOME=C:\\Program Files\\Coq\\"))
+(setq coq-prog-env nil)
+
(defcustom coq-compile-file-command "coqc %s"
"*Command to compile a coq file.
This is called when `coq-auto-compile-vos' is set, unless a Makefile