Add desktop-dirname to cleared variables

Remembering `desktop-dirname' after a desktop has been cleared gets
annoying when starting a new project.
This commit is contained in:
Tom Willemse 2013-07-03 00:16:30 +02:00
parent 2d9e5bd1f0
commit e718731f66

View file

@ -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")