aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-05-03 19:41:20 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-05-03 19:41:20 +0200
commite4c9f490a588424a49cb092ce38ad757f5c6e712 (patch)
treec065415b5b20174bea209342f93872d0155640dd /theories
parent7fa6663aeb79c10c9f38ab4d8d5cf402dc31e01f (diff)
parente1fc5c4dae82acd2eb6618724599aca368c200b7 (diff)
Merge PR#386: Better editing of the standard library in coqtop/PG
Diffstat (limited to 'theories')
-rw-r--r--theories/.dir-locals.el4
-rw-r--r--theories/Init/_CoqProject2
2 files changed, 6 insertions, 0 deletions
diff --git a/theories/.dir-locals.el b/theories/.dir-locals.el
new file mode 100644
index 000000000..4e8830f6c
--- /dev/null
+++ b/theories/.dir-locals.el
@@ -0,0 +1,4 @@
+((coq-mode . ((eval . (let ((default-directory (locate-dominating-file
+ buffer-file-name ".dir-locals.el")))
+ (setq-local coq-prog-args `("-coqlib" ,(expand-file-name "..") "-R" ,(expand-file-name ".") "Coq"))
+ (setq-local coq-prog-name (expand-file-name "../bin/coqtop")))))))
diff --git a/theories/Init/_CoqProject b/theories/Init/_CoqProject
new file mode 100644
index 000000000..bff79d34b
--- /dev/null
+++ b/theories/Init/_CoqProject
@@ -0,0 +1,2 @@
+-R .. Coq
+-arg -noinit