From: Kevin McCarthy Date: Thu, 8 Sep 2016 02:12:26 +0000 (-0700) Subject: Add unsidebar_whitelist command. X-Git-Tag: mutt-1-8-rel~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45cd7f81d3c0ce67cbfff191c889d22db0b2b339;p=mutt Add unsidebar_whitelist command. This pairs with the sidebar_whitelist command, and operates like the other "un..." list commands. --- diff --git a/doc/manual.xml.head b/doc/manual.xml.head index b27d7168..db88f87e 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -8291,6 +8291,14 @@ please have a look at the mixmaster documentation. mailbox + + unsidebar_whitelist + + * + + + mailbox + @@ -8299,6 +8307,12 @@ please have a look at the mixmaster documentation. linkend="sidebar-new-mail-only">$sidebar_new_mail_only is set and the mailbox does not contain new mail. + + + The unsidebar_whitelist command is used to remove a mailbox from + the list of whitelisted mailboxes. Use unsidebar_whitelist * + to remove all mailboxes. + @@ -9571,13 +9585,24 @@ The following are the commands understood by Mutt: sidebar_whitelist -item +mailbox + +mailbox + + +unsidebar_whitelist + -command +* + +mailbox + + + source diff --git a/init.h b/init.h index c572ee38..ae3ccaaa 100644 --- a/init.h +++ b/init.h @@ -3934,6 +3934,7 @@ const struct command_t Commands[] = { { "set", parse_set, 0 }, #ifdef USE_SIDEBAR { "sidebar_whitelist",parse_list, UL &SidebarWhitelist }, + { "unsidebar_whitelist",parse_unlist, UL &SidebarWhitelist }, #endif { "source", parse_source, 0 }, { "spam", parse_spam_list, MUTT_SPAM },