diff --git a/src/text-editor.coffee b/src/text-editor.coffee index e748cdfe4..5fe2d949f 100644 --- a/src/text-editor.coffee +++ b/src/text-editor.coffee @@ -879,7 +879,7 @@ class TextEditor extends Model # Determine whether the user should be prompted to save before closing # this editor. shouldPromptToSave: ({windowCloseRequested, projectHasPaths}={}) -> - if windowCloseRequested && projectHasPaths + if windowCloseRequested and projectHasPaths false else @isModified() and not @buffer.hasMultipleEditors()