aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-script.el
diff options
context:
space:
mode:
authorDavid Aspinall1998-10-23 13:21:40 +0000
committerDavid Aspinall1998-10-23 13:21:40 +0000
commita8711708eeaa17fe8d1a4d2bf8081f02010e282d (patch)
treec5bdb843d1afa0097889c2eddc25ca0f155f76dc /generic/proof-script.el
parent6544813185801185466f0ef00a37de620a76c7cd (diff)
Corrected doc of proof-check-process-available
Diffstat (limited to 'generic/proof-script.el')
-rw-r--r--generic/proof-script.el16
1 files changed, 10 insertions, 6 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el
index 3087fcfc..25b55f34 100644
--- a/generic/proof-script.el
+++ b/generic/proof-script.el
@@ -337,12 +337,16 @@ If non-nil, point is left where it was."
(defun proof-check-process-available (&optional relaxed)
"Adjust internal variables for scripting of current buffer.
-Signals an error if current buffer is not a proof script or if the
-proof process is not idle. If RELAXED is set, nothing more is done. No
-changes are necessary if the current buffer is already in Scripting
-minor mode. Otherwise, the current buffer will become the current
-scripting buffer provided the current scripting buffer has either no
-locked region or everything in it has been processed."
+Makes sure there is a proof shell running and that it isn't
+busy. If it is busy, an error is signaled.
+
+If RELAXED is non-nil, nothing more is done.
+
+Otherwise, the current buffer is prepared for scripting. No changes
+are necessary if it is already in Scripting minor mode. Otherwise, the
+it will become the current scripting buffer provided the current
+scripting buffer has either no locked region or everything in it has
+been processed."
(proof-start-shell)
(cond
((not (or relaxed (eq proof-buffer-type 'script)))