aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2002-06-30 17:41:03 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2002-06-30 17:41:03 +0000
commitf220ea8912f37bedf05d3431f4cb6a3beb51688d (patch)
treeb7a0a9dea2e2d83a66689a4920154a725b2448d0 /generic/proof-shell.el
parent189395ce88ba2d3208726ff7ccd007df57aa1524 (diff)
When killing process or scripting buffer, register file if it is complete, rather than always retracting.
Diffstat (limited to 'generic/proof-shell.el')
-rw-r--r--generic/proof-shell.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index 3242a8a6..6dd9602f 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -338,11 +338,9 @@ exited by hand (or exits by itself)."
;; First, turn off scripting in any active scripting
;; buffer. (This helps support persistent sessions with
;; Isabelle, for example, by making sure that no file is
- ;; partly processed when exiting). Rather than
- ;; questioning the user, we behave as killing a script
- ;; buffer: forcibly retract a partly processed file and
- ;; always succeed.
- (proof-deactivate-scripting 'forceretract)
+ ;; partly processed when exiting, and registering completed
+ ;; files).
+ (proof-deactivate-scripting-auto)
;; Second, we try to shut down the proof process
;; politely. Do this before deleting other buffers,
;; etc, so that any closing down processing works okay.