mh-get-msg-num

mh-get-msg-num is an autoloaded Lisp function in `mh-utils.el'.

(mh-get-msg-num ERROR-IF-NO-MESSAGE)

Return the message number of the displayed message.
If the argument ERROR-IF-NO-MESSAGE is non-nil, then complain if
the cursor is not pointing to a message.