--- nntp.el.old Sun Dec 8 17:45:38 2002 +++ nntp.el Sun Dec 8 17:42:44 2002 @@ -406,15 +406,16 @@ nntp-server-buffer wait-for nnheader-callback-function) ;; If nothing to wait for, still remove possibly echo'ed commands - (unless wait-for - (nntp-accept-response) - (save-excursion - (set-buffer buffer) - (goto-char pos) - (if (looking-at (regexp-quote command)) - (delete-region pos (progn (forward-line 1) - (gnus-point-at-bol)))) - ))) + (unless nntp-open-connection-function 'nntp-open-network-stream + (unless wait-for + (nntp-accept-response) + (save-excursion + (set-buffer buffer) + (goto-char pos) + (if (looking-at (regexp-quote command)) + (delete-region pos (progn (forward-line 1) + (gnus-point-at-bol)))) + )))) (nnheader-report 'nntp "Couldn't open connection to %s." nntp-address))))