mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Rename Buffer 'will-save' event to 'will-be-saved'
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user