diff options
| author | David Aspinall | 2002-09-11 21:37:22 +0000 |
|---|---|---|
| committer | David Aspinall | 2002-09-11 21:37:22 +0000 |
| commit | ce6f74bf9f5d46f33b5da23ead338d13985d9e39 (patch) | |
| tree | 603670408e759c9a27c575033ab5851124a46292 | |
| parent | 293b1b2b572e48967137c66909218599f4770923 (diff) | |
Don't insert blank line at top of response buffer.
| -rw-r--r-- | generic/pg-response.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/pg-response.el b/generic/pg-response.el index 731552fb..0f00e07a 100644 --- a/generic/pg-response.el +++ b/generic/pg-response.el @@ -161,7 +161,10 @@ Returns non-nil if response buffer was cleared." ;; the other cases when messages are inserted and to cope ;; with warnings after delayed output (non newline terminated). (goto-char (point-max)) - (newline) + ;; insert a newline before the new message unless the + ;; buffer is empty + (unless (eq (point-min) (point-max)) + (newline)) (setq start (point)) (insert str) (unless (bolp) (newline)) |
