diff --git a/doc/geany.txt b/doc/geany.txt index 834efe78..71eb3d3d 100644 --- a/doc/geany.txt +++ b/doc/geany.txt @@ -2652,7 +2652,7 @@ use_gio_unsafe_file_saving Whether to use GIO as the unsafe file t correctly on some complex setups. gio_unsafe_save_backup Make a backup when using GIO unsafe file false immediately saving. Backup is named `filename~`. -keep_edit_history_on_reload_125 Whether to maintain the edit history when false immediately +keep_edit_history_on_reload Whether to maintain the edit history when true immediately reloading a file, and allow the operation to be reverted. **Filetype related** diff --git a/src/keyfile.c b/src/keyfile.c index 4fe0fd7a..9779ea87 100644 --- a/src/keyfile.c +++ b/src/keyfile.c @@ -234,7 +234,7 @@ static void init_pref_groups(void) stash_group_add_boolean(group, &file_prefs.use_gio_unsafe_file_saving, "use_gio_unsafe_file_saving", TRUE); stash_group_add_boolean(group, &file_prefs.keep_edit_history_on_reload, - "keep_edit_history_on_reload_125", FALSE); + "keep_edit_history_on_reload", TRUE); stash_group_add_boolean(group, &file_prefs.show_keep_edit_history_on_reload_msg, "show_keep_edit_history_on_reload_msg", TRUE); /* for backwards-compatibility */