I assumed that if you're working on a program XYZ from folder Q and you have your Tools > Options > Preferences > Edit > Autosave set for every 5 minutes, then it saves your program under the name XYZ in folder Q every 5 minutes. So it saves it at 2:30 and then again at 2:35 and the most work you could lose is 4 minutes worth, if your computer crashed at 2:34.