history even bad commands (easing fixups)
This commit is contained in:
parent
cb2d79a1e3
commit
3c17b6e670
1 changed files with 1 additions and 1 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue