diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2013-02-25 17:45:36 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-02-25 17:45:36 +0000 |
commit | 8ff38dc8d122509f2cb424ea7a815ce1038f4664 (patch) | |
tree | a2c1241aa0b34a34d5cb29241124138410c3cff4 /alot/settings | |
parent | 6fa02e92a4780a6cdc2dba89d7bee99869560e0a (diff) |
fix #571
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py index 9dfec358..1fa993b4 100644 --- a/alot/settings/manager.py +++ b/alot/settings/manager.py @@ -309,9 +309,9 @@ class SettingsManager(object): return self.hooks.__dict__[key] return None - def get_mapped_input_keysequences(self, mode=None, prefix=u''): + def get_mapped_input_keysequences(self, mode='global', prefix=u''): candidates = self._bindings.scalars - if mode is not None: + if mode != 'global': candidates = candidates + self._bindings[mode].scalars return [s for s in candidates if s.startswith(prefix)] |