summaryrefslogtreecommitdiff
path: root/alot/commands/taglist.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/taglist.py')
-rw-r--r--alot/commands/taglist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/taglist.py b/alot/commands/taglist.py
index fd8a52d8..610dc2c1 100644
--- a/alot/commands/taglist.py
+++ b/alot/commands/taglist.py
@@ -8,5 +8,5 @@ MODE = 'taglist'
class TaglistSelectCommand(Command):
def apply(self, ui):
tagstring = ui.current_buffer.get_selected_tag()
- cmd = SearchCommand(query='tag:%s' % tagstring)
+ cmd = SearchCommand(query=['tag:\"%s\"' % tagstring])
ui.apply_command(cmd)