Function: mh-define-sequence

mh-define-sequence is an autoloaded and byte-compiled function defined in mh-seq.el.gz.

Signature

(mh-define-sequence SEQ MSGS)

Documentation

Define the SEQ to contain the list of MSGS.

Do not mark pseudo-sequences or empty sequences. Signals an error if SEQ is an invalid name.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-seq.el.gz
;;;###mh-autoload
(defun mh-define-sequence (seq msgs)
  "Define the SEQ to contain the list of MSGS.
Do not mark pseudo-sequences or empty sequences.
Signals an error if SEQ is an invalid name."
  (if (and msgs
           (mh-valid-seq-p seq)
           (not (mh-folder-name-p seq)))
      (save-excursion
        (mh-exec-cmd-error nil "mark" mh-current-folder "-add" "-zero"
                           "-sequence" (symbol-name seq)
                           (mh-coalesce-msg-list msgs)))))