Add 'Close Empty Windows' option.'

This commit is contained in:
Douwe Maan
2015-11-20 16:40:55 +01:00
parent f93565708b
commit a7809d6772
2 changed files with 7 additions and 3 deletions

View File

@@ -682,7 +682,7 @@ class Workspace extends Model
@destroyActivePaneItem()
else if @getPanes().length > 1
@destroyActivePane()
else
else if @config.get('core.closeEmptyWindows')
atom.close()
# Increase the editor font size by 1px.