2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
* elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
+ Add `elmo-pop3-read-point' barrier.
2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
(point elmo-pop3-read-point))
(while (and (goto-char (- point 2))
(not (search-forward "\r\n.\r\n" nil t)))
- (setq point (- (point-max) 2)) ; Care of \r\n.\r[EOF] case
+ (setq point (max (- (point-max) 2) ; Care of \r\n.\r[EOF] case
+ elmo-pop3-read-point))
(accept-process-output process 1))
(elmo-delete-cr
(buffer-substring elmo-pop3-read-point