Revert "Rename destroyNonExistentNonModified"

This reverts commit 22ec8c3a75.
This commit is contained in:
probablycorey
2013-12-10 10:14:56 -08:00
parent 22ec8c3a75
commit 51ff3ec46a

View File

@@ -43,7 +43,7 @@ class Project extends telepath.Model
# Private: Called by telepath.
beforePersistence: ->
@destroyUnretainedBuffers()
@destroyUnmodifiedNonExistentBuffers()
@destroyNonExistentNonModified()
# Public: Register an opener for project files.
#
@@ -78,7 +78,7 @@ class Project extends telepath.Model
destroyUnretainedBuffers: ->
buffer.destroy() for buffer in @getBuffers() when not buffer.isRetained()
destroyUnmodifiedNonExistentBuffers: ->
destroyNonExistentNonModified: ->
buffer.destroy() for buffer in @getBuffers() when not buffer.isModified() and not buffer.file.exists()
# Public: Returns the {Git} repository if available.