diff options
author | Mathieu Pasquet <mathieui@mathieui.net> | 2013-10-06 19:52:57 +0200 |
---|---|---|
committer | Mathieu Pasquet <mathieui@mathieui.net> | 2013-10-06 19:52:57 +0200 |
commit | 0124ac1b0624a59fe00ee29653c2aa5e1521895d (patch) | |
tree | 5a30de287fad77b8d24a73dc320e7f7d4bcd2eee /src | |
parent | 08ce5c6d00ebb18a426870ce2211357d39d27913 (diff) | |
download | poezio-0124ac1b0624a59fe00ee29653c2aa5e1521895d.tar.gz poezio-0124ac1b0624a59fe00ee29653c2aa5e1521895d.tar.bz2 poezio-0124ac1b0624a59fe00ee29653c2aa5e1521895d.tar.xz poezio-0124ac1b0624a59fe00ee29653c2aa5e1521895d.zip |
Give help about tab-specific command first in /help
(the tab-specific commands were executed first, but their help wasn’t
given first)
Diffstat (limited to 'src')
-rw-r--r-- | src/core.py | 6 |
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 |