aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorDavid Aspinall2003-05-24 11:32:28 +0000
committerDavid Aspinall2003-05-24 11:32:28 +0000
commit84b6027e2f6fcee734ec68a28476236fda79cb31 (patch)
treeaee85589a33f9c96d299564d8d1e2f045dac6904 /generic
parent7a156f04309691897acd87360007a48d65908778 (diff)
Revert to displaying empty buffer for sake of pr in Isar
Diffstat (limited to 'generic')
-rw-r--r--generic/pg-response.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/generic/pg-response.el b/generic/pg-response.el
index 75fb8fdd..001c154e 100644
--- a/generic/pg-response.el
+++ b/generic/pg-response.el
@@ -144,11 +144,15 @@ Returns non-nil if response buffer was cleared."
(unless pg-use-specials-for-fontify
(setq str (pg-assoc-strip-subterm-markup str)))
(proof-shell-maybe-erase-response t nil)
- (unless (or (string-equal str "") (string-equal str "\n"))
+ ;;(unless (or (string-equal str "") (string-equal str "\n"))
;; don't display an empty buffer [ NB: above test repeated below,
;; but response-display reused elsewhere ]
- (pg-response-display-with-face str)
- (proof-display-and-keep-buffer proof-response-buffer)))
+ (pg-response-display-with-face str)
+ ;; NB: this displays an empty buffer sometimes when it's not
+ ;; so useful. It _is_ useful if the user has requested to
+ ;; see the proof state and there is none
+ ;; (Isabelle/Isar displays nothing: might be better if it did).
+ (proof-display-and-keep-buffer proof-response-buffer))
;; FIXME: this function should be combined with
;; proof-shell-maybe-erase-response-buffer.