]>
diplodocus.org Git - nmh/blob - sbr/seq_setprev.c
3 * seq_setprev.c -- set the Previous-Sequence
11 * Add all the messages currently SELECTED to
12 * the Previous-Sequence. This way, when the next
13 * command is given, there is a convenient way to
14 * selected all the messages used in the previous
19 seq_setprev (struct msgs
*mp
)
24 * Get the list of sequences for Previous-Sequence
27 if ((cp
= context_find (psequence
))) {
29 if (!(ap
= brkstring (dp
, " ", "\n")) || !*ap
) {
37 /* Now add all SELECTED messages to each sequence */
39 seq_addsel (mp
, *ap
, -1, 1);