summaryrefslogtreecommitdiff
path: root/mail/msgset.y
diff options
context:
space:
mode:
Diffstat (limited to 'mail/msgset.y')
-rw-r--r--mail/msgset.y8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/msgset.y b/mail/msgset.y
index 8011dc779..6f31325dd 100644
--- a/mail/msgset.y
+++ b/mail/msgset.y
@@ -168,3 +168,3 @@ msg : header REGEXP /* /.../ */
{
- if (strchr ("dnorTtu", $1) == NULL)
+ if (strchr ("dnorsTtu", $1) == NULL)
{
@@ -748,4 +748,4 @@ select_type (mu_message_t msg, void *closure)
return mu_attribute_is_read (attr);
- case 'u':
- return !mu_attribute_is_read (attr);
+ case 's':
+ return mu_attribute_is_userflag (attr, MAIL_ATTRIBUTE_SAVED);
case 't':
@@ -754,2 +754,4 @@ select_type (mu_message_t msg, void *closure)
return !mu_attribute_is_userflag (attr, MAIL_ATTRIBUTE_TAGGED);
+ case 'u':
+ return !mu_attribute_is_read (attr);
}

Return to:

Send suggestions and report system problems to the System administrator.