history even bad commands (easing fixups)

This commit is contained in:
Loic Nageleisen 2015-05-24 15:56:11 +02:00
parent cb2d79a1e3
commit 3c17b6e670

View file

@ -45,9 +45,9 @@ class ExState
processOpStack: ->
[command, input] = @opStack
if input.characters.length > 0
@history.unshift command
try
command.execute(input)
@history.unshift command
catch e
if (e instanceof CommandError)
atom.notifications.addError("Command error: #{e.message}")