diff options
Diffstat (limited to 'alot/command.py')
-rw-r--r-- | alot/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py index 711bfd88..3f7578a6 100644 --- a/alot/command.py +++ b/alot/command.py @@ -101,7 +101,7 @@ class SearchCommand(Command): def apply(self, ui): if self.query: - if self.query == '*': + if self.query == '*' and ui.current_buffer: s = 'really search for all threads? This takes a while..' if not ui.choice(s) == 'yes': return |