From: David Levine Date: Fri, 22 Mar 2013 13:33:40 +0000 (-0500) Subject: Always update sequences and context in mhfixmsg, not just when X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/fd175c96d81efda55b34b13d59904bcd35c99ff0?ds=inline;hp=5f7741bd825fcacdec9e6dae01d0d79123455df3 Always update sequences and context in mhfixmsg, not just when there is a rmmproc. --- diff --git a/uip/mhfixmsg.c b/uip/mhfixmsg.c index 5db537d3..8abb96de 100644 --- a/uip/mhfixmsg.c +++ b/uip/mhfixmsg.c @@ -353,19 +353,10 @@ main (int argc, char **argv) { } } - /* - * This is a hack. If we are using an external rmmproc, - * then save the current folder to the context file, - * so the external rmmproc will remove files from the correct - * directory. This should be moved to folder_delmsgs(). - */ - if (rmmproc) { - context_replace (pfolder, folder);/* update current folder */ - seq_setcur (mp, mp->hghsel); /* update current message */ - seq_save (mp); /* synchronize sequences */ - context_save (); /* save the context file */ - fflush (stdout); - } + seq_setcur (mp, mp->hghsel); /* update current message */ + seq_save (mp); /* synchronize sequences */ + context_replace (pfolder, folder);/* update current folder */ + context_save (); /* save the context file */ } if (*cts) {