OS X Lion: App-Specific Resume

I know there's a system wide preference to disable 'Restore windows when quitting and re-opening apps', but is there any way to have it restore only specific apps?. I would like to have Safari open in full screen every time I launch it.


Solution 1:

defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool YES will enable it just for Safari.

Note that you can also temporarily toggle the behavior by holding ⌥ and choosing SafariQuit And Keep Windows (or ⌘-⌥-Q).