Last active
August 29, 2015 14:18
-
-
Save EricCrosson/cf2395a651045ef6364c to your computer and use it in GitHub Desktop.
mkdir -p before desktop-save-mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defadvice desktop-save-in-desktop-dir (before ensure-desktop-dir-exists activate) | |
"Ensure `desktop-dirname' exists before function | |
`desktop-save-in-desktop-dir' attempts to save the desktop | |
file." | |
(mkdir desktop-dirname t)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment