Rename Buffer 'will-save' event to 'will-be-saved'

This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-01-04 11:14:13 -07:00
parent 2ffc0cf13d
commit 8e835acea4
3 changed files with 5 additions and 5 deletions

View File

@@ -239,7 +239,7 @@ class Buffer
saveAs: (path) ->
unless path then throw new Error("Can't save buffer with no file path")
@trigger 'will-save'
@trigger 'will-be-saved'
@setPath(path)
@cachedDiskContents = @getText()
@file.write(@getText())