and LIMIT is the end position of header.
If the search succeeds, return non-nil. Otherwise, return nil."
(save-excursion
- (rmail-decode-header " *RMAIL-temp-VIEW*" (current-buffer) (point) end)
+ (rmail-decode-header " *RMAIL-temp-VIEW*" (current-buffer) (point) limit)
(goto-char (point-min))
(prog1 (re-search-forward regexp nil t)
(kill-buffer " *RMAIL-temp-VIEW*"))))