diff options
| author | David Aspinall | 1998-12-11 17:47:29 +0000 |
|---|---|---|
| committer | David Aspinall | 1998-12-11 17:47:29 +0000 |
| commit | 2334f0e7c457283fb706a272a5cb97494c5563b6 (patch) | |
| tree | faae69a42701ccc32b822be3d7ce4caa5513d0d2 /generic/proof-script.el | |
| parent | b6c80626a59965cdd740a4cbf83d026215cf7d98 (diff) | |
Comments
Diffstat (limited to 'generic/proof-script.el')
| -rw-r--r-- | generic/proof-script.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el index febb29e6..06c768ae 100644 --- a/generic/proof-script.el +++ b/generic/proof-script.el @@ -504,6 +504,8 @@ If the locked region doesn't cover the entire file, retract it." (proof-unregister-buffer-file-name) (unless (proof-locked-region-empty-p) (condition-case nil + ;; If retraction fails (e.g. proof proc busy), + ;; never mind. (proof-retract-until-point) (error nil)))) ;; In any case, turn off the fake minor mode @@ -650,6 +652,8 @@ the ACS is marked in the current buffer. If CMD does not match any, (defun proof-done-advancing (span) "The callback function for assert-until-point." + ;; FIXME da: if the buffer dies, this function breaks. + ;; Needs robustifying. (let ((end (span-end span)) nam gspan next cmd) (proof-set-locked-end end) (proof-set-queue-start end) @@ -1614,6 +1618,7 @@ sent to the assistant." Clean up before a script buffer is killed. If killing the active scripting buffer, run proof-deactivate-scripting. Otherwise just do proof-restart-buffers to delete some spans from memory." + ;; Deactivate scripting in the current buffer if need be. (if (eq (current-buffer) proof-script-buffer) (proof-deactivate-scripting)) (proof-restart-buffers (list (current-buffer))) |
