aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/pg-response.el
diff options
context:
space:
mode:
Diffstat (limited to 'generic/pg-response.el')
-rw-r--r--generic/pg-response.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/pg-response.el b/generic/pg-response.el
index 89c35e9d..7afa77a5 100644
--- a/generic/pg-response.el
+++ b/generic/pg-response.el
@@ -357,8 +357,9 @@ Returns non-nil if response buffer was cleared."
;; with warnings after delayed output (non newline terminated).
(goto-char (point-max))
;; insert a newline before the new message unless the
- ;; buffer is empty
- (unless (eq (point-min) (point-max))
+ ;; buffer is empty or proof-script-insert-newlines is nil
+ (unless (or (not proof-script-insert-newlines)
+ (eq (point-min) (point-max)))
(newline))
(setq start (point))
(insert str)