diff options
| author | David Aspinall | 2010-08-25 09:36:43 +0000 |
|---|---|---|
| committer | David Aspinall | 2010-08-25 09:36:43 +0000 |
| commit | 6e079495ba13341261c3f7e3604b1a6b7db6ecc9 (patch) | |
| tree | 5183e00ef6c3be87f87794c22cb28d09a9c9d57b /generic/proof-shell.el | |
| parent | 9a771e0f787216593070c66dfaed3b9ea2007e81 (diff) | |
proof-shell-handle-error-or-interrupt: prevent an error in
an obscure case, attempting to handle delayed output when there is none.
Diffstat (limited to 'generic/proof-shell.el')
| -rw-r--r-- | generic/proof-shell.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el index 0c738696..e80bdf0b 100644 --- a/generic/proof-shell.el +++ b/generic/proof-shell.el @@ -573,8 +573,9 @@ didn't cause prover output." "Interrupt: script management may be in an inconsistent state (but it's probably okay)")) (t ; error - (save-excursion - (proof-shell-handle-delayed-output)) + (if proof-shell-delayed-output-start + (save-excursion + (proof-shell-handle-delayed-output))) (proof-shell-handle-error-output (if proof-shell-truncate-before-error proof-shell-error-regexp) 'proof-error-face) |
