elextr commented on this pull request.
void configuration_init(void)
{ keyfile_groups = g_ptr_array_new(); pref_groups = g_ptr_array_new(); init_pref_groups(); + + g_signal_connect(geany_object, "document-new", G_CALLBACK(document_list_changed_cb), NULL); + g_signal_connect(geany_object, "document-open", G_CALLBACK(document_list_changed_cb), NULL); + g_signal_connect(geany_object, "document-save", G_CALLBACK(document_list_changed_cb), NULL);
Well, the session includes cursor position so its probably worth saving.