From a8711708eeaa17fe8d1a4d2bf8081f02010e282d Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 23 Oct 1998 13:21:40 +0000 Subject: Corrected doc of proof-check-process-available --- generic/proof-script.el | 16 ++++++++++------ 1 file 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))) -- cgit v1.2.3