diff options
author | Tom Willemse | 2013-07-03 00:16:30 +0200 |
---|---|---|
committer | Tom Willemse | 2013-07-03 00:16:30 +0200 |
commit | e718731f66b3add0beed49cf01b4c7e06cc95c76 (patch) | |
tree | d43ce576990ae292f5320f5032e323042e2743bc /emacs/init.el | |
parent | 2d9e5bd1f0b6609d755bd627dd0cccf956d53a0b (diff) | |
download | dotfiles-e718731f66b3add0beed49cf01b4c7e06cc95c76.tar.gz dotfiles-e718731f66b3add0beed49cf01b4c7e06cc95c76.zip |
Add desktop-dirname to cleared variables
Remembering `desktop-dirname' after a desktop has been cleared gets
annoying when starting a new project.
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index 6f32baa..cba84c3 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -275,7 +275,8 @@ Also change directories to current working directory." (setq desktop-files-not-to-save (rx (or (regexp "\\(^/[^/:]*:\\|(ftp)$\\)") (and "/" (or "dailies" "tasks" "bookmarks.org" - "contacts.org" "work") eol))))) + "contacts.org" "work") eol)))) + (add-to-list 'desktop-globals-to-clear 'desktop-dirname)) (stante-after eap (setq eap-music-library "/mnt/music") |