summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index 64d91262..3fc63295 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1477,10 +1477,10 @@ class Core(object):
if args:
command = args[0].lstrip('/').strip()
- if command in self.commands:
- tup = self.commands[command]
- elif command in self.current_tab().commands:
+ if command in self.current_tab().commands:
tup = self.current_tab().commands[command]
+ elif command in self.commands:
+ tup = self.commands[command]
else:
self.information(_('Unknown command: %s') % command, 'Error')
return