Function: mh-next-msg

mh-next-msg is an autoloaded and byte-compiled function defined in mh-folder.el.gz.

Signature

(mh-next-msg &optional WAIT-AFTER-COMPLAINING-FLAG)

Documentation

Move backward or forward to the next undeleted message in the buffer.

If optional argument WAIT-AFTER-COMPLAINING-FLAG is non-nil and we are at the last message, then wait for a second after telling the user that there aren't any more unread messages.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-folder.el.gz
;;;###mh-autoload
(defun mh-next-msg (&optional wait-after-complaining-flag)
  "Move backward or forward to the next undeleted message in the buffer.
If optional argument WAIT-AFTER-COMPLAINING-FLAG is non-nil and
we are at the last message, then wait for a second after telling
the user that there aren't any more unread messages."
  (if (eq mh-next-direction 'forward)
      (mh-next-undeleted-msg 1 wait-after-complaining-flag)
    (mh-previous-undeleted-msg 1 wait-after-complaining-flag)))