X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5f7741bd825fcacdec9e6dae01d0d79123455df3..17b9beb40640e8731143f61e3b94756f3e77d20c:/uip/mhfixmsg.c?ds=inline 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) {