diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-29 11:11:53 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-29 11:11:53 +0000 |
commit | 3d0db41ece720d0e5abae914533e2a2f146b5700 (patch) | |
tree | 35e09c4545d5fed1ff0c10e2dda393cc15b0fa55 /pgpkey.c | |
parent | 61811193b3bc96b70f1ad68c143387bb290d7ca9 (diff) |
Add generic menu searching.
Diffstat (limited to 'pgpkey.c')
-rw-r--r-- | pgpkey.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -227,14 +227,6 @@ static void pgp_entry (char *s, size_t l, MUTTMENU * menu, int num) (unsigned long) &entry, M_FORMAT_ARROWCURSOR); } -static int pgp_search (MUTTMENU * m, regex_t * re, int n) -{ - char buf[LONG_STRING]; - - pgp_entry (buf, sizeof (buf), m, n); - return (regexec (re, buf, 0, NULL, 0)); -} - static int pgp_compare (const void *a, const void *b) { int r; @@ -303,7 +295,6 @@ static pgp_key_t *pgp_select_key (struct pgp_vinfo *pgp, menu = mutt_new_menu (); menu->max = keymax; menu->make_entry = pgp_entry; - menu->search = pgp_search; menu->menu = MENU_PGP; menu->help = helpstr; menu->data = KeyTable; |