summaryrefslogtreecommitdiffstats
path: root/alias.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-23 10:13:31 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-23 10:13:31 +0000
commit2746247d29fe46b242d029ae016d13633c05ef81 (patch)
treee3ac177a93c395ef836a57ce637b8bc2372e14d1 /alias.c
parent9f61713ddeea783bddc259b2ecfe8a1dcd7481f4 (diff)
From Byrial:
I don't think that the match-all pattern modifier works as can be expected from a logical point of view. The attached patch will make it work as I expect it to work: - It works on all patterns which explicit or implicit use address lists: ~c, ~C, ~e, ~f, ~l, ~L, ~p, ~P, and ~t. (It didn't work with ~l before). - It works such that a modified pattern always match, unless there is at least one address in at least one of the referenced lists that it doesn't match.
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/alias.c b/alias.c
index bd462c59..b4653e19 100644
--- a/alias.c
+++ b/alias.c
@@ -410,12 +410,3 @@ int mutt_addr_is_user (ADDRESS *addr)
return 0;
}
-
-/* returns 1 if the list of address contains a known mailing list */
-int mutt_is_list_recipient (ADDRESS *a)
-{
- for (; a; a = a->next)
- if (mutt_is_mail_list (a))
- return 1;
- return 0;
-}