Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In OS X Lion it saves the state of an application before you exit an app so that when you start it you can pick up where you left off. This is a cool feature and all, but I would prefer to disable this feature. A lot of times I have many tabs/windows open in an app and I just want to quit the app and close out of everything, but this is a big pain now in Lion.

Does anyone know how to disable this feature?

share|improve this question
up vote 5 down vote accepted

I'll give you two options. One possibility is to disable it entirely, in System Preferences -> General pane -> disable "Restore windows when quitting and re-opening apps".

You can also disable it temporarily while quitting an application. Just quit with Command-Option-Q -- a shortcut for "Quit and Discard Widows", which is also available under the application menu if you hold the Option key.

Update: This posting at MacFixIt gives a third option: you can effectively disable state restoration for a particular application by emptying out its Saved Application State folder (~/Library/Saved Application State/com.something.applicationid), and then locking the folder.

share|improve this answer
    
Thank you for the link to the MacFixIt article! – user93417 Aug 9 '11 at 2:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .