Currently Being ModeratedFeb 14, 2013 6:55 AM (in response to LimeBrokerage)
It's the Resume feature.
When choosing Restart, Sleep or Shutdown there is a checkbox you can uncheck to prevent the apps from launching.
Also in System Preferences > General there is a hard-to-find checkbox under "Number of recent items" you can turn off.
Also, you can hold the shift key to disable resume on a one time basis.
You can turn off Resume globally by going to ~/Library/Saved Application State/TextEdit and delete that file…
(note that the User Library is hidden - one way to get there is to go to your Finder "Go" menu hold the option key to choose "Library")
To turn off autosave and versions globally
If you're experiencing slow opening apps or windows since upgrading to ML... as I have... and you don't want your OS to automatically save your TextEdit files, etc. then simply disable Autosave and Versions via Terminal.
If you don't want autosave or resume you can copy & paste this command into Terminal at the prompt...
defaults write -g ApplePersistence -bool no
The reverse would be "yes".
Currently Being ModeratedFeb 14, 2013 7:17 AM (in response to macjack)
I think what is happening is either:
1. "Visually" the application seems closed (including not showing up in force quit, etc.) however some small part of the app might still be open for a longer period of time (in some sort of OS running app cache state).
2. If that's not the case, then I think it might be the number of recent items (it's set to 10) causing it to open despite being closed before shut down. I will have to test it today with this set to 0.