(goto-char beg)
(while (and (if (bobp) nil (forward-line -1) t)
(not (looking-at paragraph-start))
- (not (looking-at message-cite-prefix-regexp))
- (equal quoted (match-string 0)))
+ (not (looking-at message-cite-prefix-regexp)))
(setq beg (point))))
(goto-char point)
(save-restriction
(backward-char 1)
(run-hooks 'message-send-mail-hook)
(if recipients
- (let ((result (smtp-via-smtp user-mail-address
- recipients
- (current-buffer))))
+ (let ((result (static-if (fboundp 'smtp-send-buffer)
+ (smtp-send-buffer user-mail-address recipients
+ (current-buffer))
+ (smtp-via-smtp user-mail-address
+ recipients
+ (current-buffer)))))
(unless (eq result t)
(error "Sending failed; " result)))
(error "Sending failed; no recipients"))))