Use Command + D to choose "Don't Save" in Lion
UPDATE: After I posted this, someone told me that the new keyboard shortcut for “Don’t Save” is Command + Delete. At first I was doubtful that I could retrain my muscle memory, but I’ve been trying it, and have actually decided to use that instead of the procedure below. Why? Because Apple isn’t likely to undo this change, so I either have to fight it forever, or start to learn the new way. And I decided I don’t want to fight it forever, so I decided to stop fighting it now. I’ll leave the rest of the post here in case others decide that they want to keep doing it the old way.
One of the most annoying changes in Mac OS X 10.7 (“Lion”) is way that Command + D is handled in “Save” panels.
Here is the window I am talking about:

In Snow Leopard and previous versions of OS X, pressing Command + D would select “Don’t Save” but now in Lion it changes the “Where” to “Desktop.”
This is annoying to me for two reasons:
1. I don’t use the Desktop to save files. Ever. In fact, in open/save panels, I have Command + D set to select ~/Dropbox/ not ~/Desktop/ (thanks to DefaultFolderX)
2. I often don’t want to save, and there is no keyboard shortcut to select “Don’t Save” anymore.
So I did what seemed reasonable, I remapped Command + D to mean “Press the Button marked ‘Don’t Save’” using Keyboard Maestro.
It is even smart enough to look to see if the button exists before pressing it:

Note that the ’ in “Don’t Save” is not the same as ‘
p.s. — There is a defaults write which is supposed to do this:
defaults write NSGlobalDomain NSSavePanelStandardDesktopShortcutOnly -bool YES
but it did not seem to work for me.
Sunday, January 29, 2012 at 10:26AM