aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Tews2011-04-06 06:52:45 +0000
committerHendrik Tews2011-04-06 06:52:45 +0000
commitd9f13df8b61eb6b7fb58d3c37a0e43fccb7226d6 (patch)
tree8c9aa7150ffd494f102d3e91834b9239d42f7c7e
parent5b3f191a9b989bd68bee27ce84aeeeb9fa1060fd (diff)
* disable file safe when switching to new buffers for coq
-rw-r--r--coq/coq.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 2c048ad5..c63370c4 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -755,6 +755,10 @@ This is specific to `coq-mode'."
(setq proof-guess-command-line 'coq-guess-command-line)
(setq proof-prog-name-guess t)
+ ;; We manage file saveing via coq-compile-auto-save and for coq
+ ;; it is not necessary to save files when starting a new buffer.
+ (setq proof-query-file-save-when-activating-scripting nil)
+
;; Commands sent to proof engine
(setq proof-showproof-command "Show. "
proof-context-command "Print All. "