summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-06-02 20:28:57 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-08 13:26:00 +0200
commitba84186f82833b4f5eab2015931e1b05651a48f1 (patch)
treece2e20c1aea72ebccea24a67d5c22cb77e8334a9 /alot/commands/globals.py
parent3b935dff34da6bfed4d8643946a86086bdb78cba (diff)
Exclude search.exclude_tags from searches
Fixes #707 and #332. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r--alot/commands/globals.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index c8acbee6..fcd92e97 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -89,7 +89,8 @@ class ExitCommand(Command):
(['query'], {'nargs': argparse.REMAINDER, 'help': 'search string'})])
class SearchCommand(Command):
- """open a new search buffer"""
+ """open a new search buffer. Search obeys the notmuch
+ :ref:`search.exclude_tags <search.exclude_tags>` setting."""
repeatable = True
def __init__(self, query, sort=None, **kwargs):