2007-01-09 OHASHI Akira <bg66@koka-in.org>
+ * mixi-gnus.el (message-send-via-mixi): Don't replace twice.
+
+2007-01-09 OHASHI Akira <bg66@koka-in.org>
+
* mixi-gnus.el (message-mixi-p): Change the pseudo header to
`Mixi-To:'.
(message-send-via-mixi): Ditto.
;; Avoid matching with message-mail-p.
(with-current-buffer mailbuf
(goto-char (point-min))
- (when (search-forward "\nTo: " nil t)
- (replace-match "\nMixi-To: ")))
+ (unless (search-forward "\nMixi-To: " nil t)
+ (when (search-forward "\nTo: " nil t)
+ (replace-match "\nMixi-To: "))))
(unwind-protect
(save-excursion
(set-buffer tembuf)