mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Changed setting disableInitialEmptyEditor to openEmptyEditorOnStart
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user