diff options
| author | Cyril Anaclet | 2020-05-11 15:00:47 +0200 |
|---|---|---|
| committer | Anaclet | 2020-05-29 11:05:58 +0200 |
| commit | 8e12eee54e36ca16d4b4530e1509479f22929e4f (patch) | |
| tree | bdfd16e4f291db65f638b0b94e54f23c7fec989b /coq/coq.el | |
| parent | 0bfd208037646a1e1871dae9fc6fc6be0f7bd39c (diff) | |
First try for feature #487
Diffstat (limited to 'coq/coq.el')
| -rw-r--r-- | coq/coq.el | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1222,7 +1222,14 @@ be called and no command will be sent to Coq." (string-match-p "BackTo\\s-" cmd)) (if (coq--post-v810) (list "Unset Silent." (coq-diffs)) - (list "Unset Silent."))))) + (list "Unset Silent."))) + ((or + ;; If doing (not closing) a proof, Show Proof if need be + (and (not (string-match-p coq-save-command-regexp-strict cmd)) + (> (length coq-last-but-one-proofstack) 0) + (when coq-show-proof + (list "Show Proof." "Show."))))))) + (defpacustom auto-adapt-printing-width t "If non-nil, adapt automatically printing width of goals window. |
