X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=d2deca1ea49e221e8660dec0f952d303b00a22c4;hp=ea12fe76399ce4ec19c0ecfc38e6087310894a2f;hb=95dd5fe5d7e9cd8169a6e3174ea27376acd92870;hpb=1ea0b8bfe164a0f7a3e750236b8aef9b5ab8917e diff --git a/lib/notmuch.h b/lib/notmuch.h index ea12fe76..d2deca1e 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -947,9 +947,13 @@ notmuch_message_maildir_flags_to_tags (notmuch_message_t *message); * * Specifically, for each filename corresponding to this message: * - * Rename the file so that its filename ends with the sequence ":2," - * followed by zero or more of the following single-character flags - * (in ASCII order): + * If the filename is not in a maildir directory, do nothing. + * (A maildir directory is determined as a directory named "new" or + * "cur".) + * + * If the filename is in a maildir directory, rename the file so that + * its filename ends with the sequence ":2," followed by zero or more + * of the following single-character flags (in ASCII order): * * 'D' iff the message has the "draft" tag * 'F' iff the message has the "flagged" tag