Changed setting disableInitialEmptyEditor to openEmptyEditorOnStart

This commit is contained in:
Jonathan Delgado
2015-08-23 07:51:22 -07:00
parent 31634f3f53
commit c292299516
2 changed files with 4 additions and 4 deletions

View File

@@ -673,7 +673,7 @@ class Atom extends Model
@windowEventHandler?.unsubscribe()
openInitialEmptyEditorIfNecessary: ->
return if @config.get('core.disableInitialEmptyEditor')
return unless @config.get('core.openEmptyEditorOnStart')
if @getLoadSettings().initialPaths?.length is 0 and @workspace.getPaneItems().length is 0
@workspace.open(null)

View File

@@ -89,10 +89,10 @@ module.exports =
'windows1258',
'windows866'
]
disableInitialEmptyEditor:
description: 'Disable the initial empty editor when atom starts.'
openEmptyEditorOnStart:
description: 'Automatically opens an empty editor when atom starts.'
type: 'boolean'
default: false
default: true
editor:
type: 'object'