mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Saving a buffer does not trigger a "contents-change" event
This commit is contained in:
@@ -172,6 +172,7 @@ class Buffer
|
||||
|
||||
@trigger 'before-save'
|
||||
fs.write path, @getText()
|
||||
@file?.updateMd5()
|
||||
@modified = false
|
||||
@setPath(path)
|
||||
@trigger 'after-save'
|
||||
|
||||
Reference in New Issue
Block a user