Function: rmail-search-message
rmail-search-message is a byte-compiled function defined in
rmail.el.gz.
Signature
(rmail-search-message MSG REGEXP)
Documentation
Return non-nil, if for message number MSG, regexp REGEXP matches.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
;; Searching in Rmail file.
(defun rmail-search-message (msg regexp)
"Return non-nil, if for message number MSG, regexp REGEXP matches."
;; This is adequate because its only caller, rmail-search,
;; unswaps the buffers.
(goto-char (rmail-msgbeg msg))
(if (and rmail-enable-mime
rmail-search-mime-message-function)
(funcall rmail-search-mime-message-function msg regexp)
(re-search-forward regexp (rmail-msgend msg) t)))