(delete-region (point-min) (match-end 0)))
(unless (yes-or-no-p
(format "movemail: %s (%d return). Continue? "
- (buffer-substring
- (point-min) (point-max)) result))
- (error "%s" (buffer-substring (point-min) (point-max))))
+ (buffer-string)))
+ (error "%s" (buffer-string)))
(setq tofile nil)))
))))
(nnmail-set-password inbox nnmail-internal-password)
;; Narrow to the status.
(narrow-to-region
(point)
- (progn
- (while (and (zerop (forward-line 1))
- (memq (char-after) '(?\t ?\ ))))
- (point)))
+ (if (re-search-forward "^[^ \t]" nil t)
+ (1- (point))
+ (point-max)))
;; Go through all elements and add them to the list.
(goto-char (point-min))
(while (re-search-forward "[^ \t=]+" nil t)