diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-26 20:28:13 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-26 20:28:13 +0000 |
commit | a85405609bea12dbca88206b5f174cd4459013af (patch) | |
tree | 3c471b46c99c24cc91a257a9de6a2591489a61f5 /pattern.c | |
parent | e613b1b29de006818ca8fdbb6126b903b48bc89d (diff) |
[unstable] Add the ~v pattern. From Vikas.
Diffstat (limited to 'pattern.c')
-rw-r--r-- | pattern.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -86,6 +86,7 @@ Flags[] = { 'T', M_TAG, 0, NULL }, { 't', M_TO, 0, eat_regexp }, { 'U', M_UNREAD, 0, NULL }, + { 'v', M_COLLAPSED, 0, NULL }, { 'x', M_REFERENCE, 0, eat_regexp }, { 'z', M_SIZE, 0, eat_range }, { 0 } @@ -863,6 +864,8 @@ mutt_pattern_exec (struct pattern_t *pat, pattern_exec_flag flags, CONTEXT *ctx, return (pat->not ^ match_user (pat->alladdr, h->env->to, h->env->cc)); case M_PERSONAL_FROM: return (pat->not ^ match_user (pat->alladdr, h->env->from, NULL)); + case M_COLLAPSED: + return (pat->not ^ h->collapsed); #ifdef _PGPPATH case M_PGP_SIGN: return (pat->not ^ (h->pgp & PGPSIGN)); |