aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2015-11-13 16:37:28 +0100
committerGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2015-11-13 16:37:28 +0100
commit95c86b944368015804f0bfd0002dc098578bda58 (patch)
tree25c400e092b9cfda6c508839987e72296691267d /coq/coq.el
parent6c47d20a9e1fa0a30be041dc565ae71090ffcd4a (diff)
Experimenting less brutal frame deletion.
Only in coq mode for now. There are still some strange frame deletion some times.
Diffstat (limited to 'coq/coq.el')
-rw-r--r--coq/coq.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index cd6991af..d9a04bc5 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -1233,7 +1233,7 @@ present, current pg display mode and current geometry otherwise."
;; multiple frames. If goals buffer pops up it will have frame default
;; size. Falling back to X default window size if not specified.
;; This is hard to mimick, let us give up
- (proofproof-multiple-frames-enable nil)
+ (proof-multiple-frames-enable nil)
(t nil) ;; assert false?
)))
@@ -2855,6 +2855,12 @@ are non-nil at the same time, this gives priority to the former."
'coq-switch-buffer-kill-proof-shell ;; this function is in coq-compile-common
t)
+
+;; overwriting the default behavior, this is an experiment, *frames* will be
+;; deleted only if only displaying associated buffers. If this is OK the
+;; function itself will replace the other in generic.
+(defun proof-delete-other-frames () (proof-delete-all-associated-windows))
+
(provide 'coq)