diff options
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index 715fe4ef..ac5480e3 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -114,12 +114,7 @@ class PromptCommand(Command): if cmdline: # save into prompt history ui.commandprompthistory.append(cmdline) - - try: - cmd = commandfactory(cmdline, mode) - ui.apply_command(cmd) - except CommandParseError, e: - ui.notify(e.message, priority='error') + ui.apply_commandline(cmdline) @registerCommand(MODE, 'refresh') |