@techee commented on this pull request.
+ if (file_path == NULL) + { + return FALSE; + } + + filename = g_path_get_basename(file_path); + matched = is_temp_saved_file(filename); + + g_free(filename); + + return matched; +} + + +static void load_all_temp_files_into_editor(const gchar *path)
Another note - automatic Geany session management will only work when Preferences->General->Startup->Load files from the last session is used. But I think it's kind of expected that Geany wouldn't auto-load persistent temp files in when this option is disabled.