Function: mh-index-match-checksum
mh-index-match-checksum is a byte-compiled function defined in
mh-search.el.gz.
Signature
(mh-index-match-checksum MSG FOLDER CHECKSUM)
Documentation
Check if MSG in FOLDER has X-MHE-Checksum header value of CHECKSUM.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-search.el.gz
(defun mh-index-match-checksum (msg folder checksum)
"Check if MSG in FOLDER has X-MHE-Checksum header value of CHECKSUM."
(with-temp-buffer
(mh-exec-cmd-output mh-scan-prog nil "-width" "80"
"-format" "%{x-mhe-checksum}\n" folder msg)
(goto-char (point-min))
(string-equal (buffer-substring-no-properties
(point) (line-end-position))
checksum)))