Function: mh-delete-seq
mh-delete-seq is an autoloaded, interactive and byte-compiled function
defined in mh-seq.el.gz.
Signature
(mh-delete-seq SEQUENCE)
Documentation
Delete SEQUENCE.
You are prompted for the sequence to delete. Note that this
deletes only the sequence, not the messages in the sequence. If
you want to delete the messages, use "\\[universal-argument]
\\[mh-delete-msg]".
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-seq.el.gz
;;;###mh-autoload
(defun mh-delete-seq (sequence)
"Delete SEQUENCE.
You are prompted for the sequence to delete. Note that this
deletes only the sequence, not the messages in the sequence. If
you want to delete the messages, use \"\\[universal-argument]
\\[mh-delete-msg]\"."
(interactive (list (mh-read-seq-default "Delete" t)))
(let ((msg-list (mh-seq-to-msgs sequence))
(internal-flag (mh-internal-seq sequence))
(folders-changed (list mh-current-folder)))
(mh-iterate-on-range msg sequence
(mh-remove-sequence-notation msg internal-flag))
(mh-undefine-sequence sequence '("all"))
(mh-delete-seq-locally sequence)
(when mh-index-data
(setq folders-changed
(append folders-changed
(mh-index-delete-from-sequence sequence msg-list))))
(when (and (eq sequence mh-unseen-seq) (mh-speed-flists-active-p))
(apply #'mh-speed-flists t folders-changed))))