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:
parent
2d9e5bd1f0
commit
e718731f66
1 changed files with 2 additions and 1 deletions
|
@ -275,7 +275,8 @@ Also change directories to current working directory."
|
||||||
(setq desktop-files-not-to-save
|
(setq desktop-files-not-to-save
|
||||||
(rx (or (regexp "\\(^/[^/:]*:\\|(ftp)$\\)")
|
(rx (or (regexp "\\(^/[^/:]*:\\|(ftp)$\\)")
|
||||||
(and "/" (or "dailies" "tasks" "bookmarks.org"
|
(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
|
(stante-after eap
|
||||||
(setq eap-music-library "/mnt/music")
|
(setq eap-music-library "/mnt/music")
|
||||||
|
|
Loading…
Reference in a new issue