From 6472f069afb9d6a2b3cd4a64b589c7b372e877cf Mon Sep 17 00:00:00 2001 From: Lee Dohm Date: Sun, 6 Nov 2016 10:55:07 -0800 Subject: [PATCH 1/3] Improve core.openEmptyEditorOnStart description --- src/config-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config-schema.js b/src/config-schema.js index 63be1273f..00e6fb941 100644 --- a/src/config-schema.js +++ b/src/config-schema.js @@ -122,7 +122,7 @@ const configSchema = { ] }, openEmptyEditorOnStart: { - description: 'Automatically open an empty editor on startup.', + description: 'When checked opens an untitled editor on _File > New Window_; otherwise no buffer is opened.', type: 'boolean', default: true }, From 0a4001934617d5c0ff0626c572680032198001cf Mon Sep 17 00:00:00 2001 From: Lee Dohm Date: Sun, 6 Nov 2016 11:25:43 -0800 Subject: [PATCH 2/3] Add config schema for core.restorePreviousWindowsOnStart Additionally updates the description for core.openEmptyEditorOnStart to match. --- src/config-schema.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/config-schema.js b/src/config-schema.js index 00e6fb941..ee1e9deb1 100644 --- a/src/config-schema.js +++ b/src/config-schema.js @@ -122,7 +122,12 @@ const configSchema = { ] }, openEmptyEditorOnStart: { - description: 'When checked opens an untitled editor on _File > New Window_; otherwise no buffer is opened.', + description: 'When checked opens an untitled editor when loading a blank environment (such as with _File > New Window_ or when "Restore Previous Windows On Start" is unchecked); otherwise no buffer is opened when loading a blank environment. This setting has no effect when restoring a previous state.', + type: 'boolean', + default: true + }, + restorePreviousWindowsOnStart: { + description: 'When checked restores the last state of all Atom windows when started from the icon or `atom` by itself from the command line; otherwise a blank environment is loaded.', type: 'boolean', default: true }, From 03fe5c343ba0bf9616666cdf2ba6fd3cbd7dd3e3 Mon Sep 17 00:00:00 2001 From: Lee Dohm Date: Sun, 6 Nov 2016 11:30:03 -0800 Subject: [PATCH 3/3] Consistently use 'editor' in description --- src/config-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config-schema.js b/src/config-schema.js index ee1e9deb1..93abc1b54 100644 --- a/src/config-schema.js +++ b/src/config-schema.js @@ -122,7 +122,7 @@ const configSchema = { ] }, openEmptyEditorOnStart: { - description: 'When checked opens an untitled editor when loading a blank environment (such as with _File > New Window_ or when "Restore Previous Windows On Start" is unchecked); otherwise no buffer is opened when loading a blank environment. This setting has no effect when restoring a previous state.', + description: 'When checked opens an untitled editor when loading a blank environment (such as with _File > New Window_ or when "Restore Previous Windows On Start" is unchecked); otherwise no editor is opened when loading a blank environment. This setting has no effect when restoring a previous state.', type: 'boolean', default: true },