aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorDavid Aspinall2002-01-16 16:35:43 +0000
committerDavid Aspinall2002-01-16 16:35:43 +0000
commit278e065741e2959258b862407e53fe9d4a9ef418 (patch)
tree77dbfe8e8eb4fafd93523fc98f0d8eedfa085a4d /generic
parent4973d5e79f66a650d9141e665a8fb8e9a18e9207 (diff)
Also bury trace buffer
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-script.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el
index 7e10dcbc..fc2e618b 100644
--- a/generic/proof-script.el
+++ b/generic/proof-script.el
@@ -2277,13 +2277,12 @@ Otherwise just do proof-restart-buffers to delete some spans from memory."
(if (eq (current-buffer) proof-script-buffer)
(proof-deactivate-scripting 'retract))
(proof-restart-buffers (list (current-buffer)))
- ;; Hide away goals and response: this is a hack because otherwise
- ;; we can lead the user to frustration with the dedicated windows
- ;; nonsense.
- (if (buffer-live-p proof-goals-buffer)
- (bury-buffer proof-goals-buffer))
- (if (buffer-live-p proof-response-buffer)
- (bury-buffer proof-response-buffer))))
+ ;; Hide away goals, response, and tracing. This is a hack because
+ ;; otherwise we can lead the user to frustration with the
+ ;; dedicated windows nonsense.
+ (proof-map-buffers
+ (list proof-goals-buffer proof-response-buffer proof-trace-buffer)
+ (bury-buffer (current-buffer)))))
;; Notes about how to deal with killing/reverting/renaming buffers: