I've been having an odd interaction between desktop save and the theme system. I noticed while trying to set up a custom theme that certain elements weren't matching the theme values. Things like the background color or the cursor color were holding onto their previous values.
Finally, I traced it back to my
.emacs.desktop file, an excerpt:
;; Global section: (setq (foreground-color . "#93a1a1") (background-color . "#002b36") (mouse-color . "black") (border-color . "black") (screen-gamma) (line-spacing) (left-fringe . 10) (right-fringe . 11) (alpha) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (fullscreen) (icon-type) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 17) (horizontal-scroll-bars . t) (display-type . color) (background-mode . dark) (cursor-color . "#fdf6e3")
Is there some way to make it not do that? I like the desktop feature for preserving my open files and window position, but I don't want it to keep all that style information. I've hunted around and tried setting
desktop-globals-to-save and other variables but nothing seems to do it.