From e718731f66b3add0beed49cf01b4c7e06cc95c76 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 3 Jul 2013 00:16:30 +0200 Subject: Add desktop-dirname to cleared variables Remembering `desktop-dirname' after a desktop has been cleared gets annoying when starting a new project. --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/init.el') 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") -- cgit v1.2.3-54-g00ecf