diff options
author | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2015-11-13 16:37:28 +0100 |
---|---|---|
committer | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2015-11-13 16:37:28 +0100 |
commit | 95c86b944368015804f0bfd0002dc098578bda58 (patch) | |
tree | 25c400e092b9cfda6c508839987e72296691267d /coq/coq.el | |
parent | 6c47d20a9e1fa0a30be041dc565ae71090ffcd4a (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.el | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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) |