all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Enable/disable theme while using desktop-save-mode
@ 2019-11-05 16:37 Pankaj Jangid
  2019-11-05 21:20 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Pankaj Jangid @ 2019-11-05 16:37 UTC (permalink / raw)
  To: Emacs mailing list

Hi,

I have (desktop-save-mode 1) and then enabled one dark mode theme. After
a few days, now I want to disable the theme. Even after I comment out
the theme related code from init.el, some of the theme settings don't go
away. This is because of the way themes are thought out in Emacs.

In Emacs, a theme is not just one setting. It is a collection of
settings that we configure. This allows us to set multiple themes in
sequence. Later settings will prevail finally.

Now, even when I disable all themes, the settings are still saved in
desktop session. Restarting Emacs, loads those settings from saved
desktop. This is where I am stuck.

Is there a way to remove all those settings which were configured by the
theme previously set?

Regards,
-- 
Pankaj Jangid



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-06 18:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-05 16:37 Enable/disable theme while using desktop-save-mode Pankaj Jangid
2019-11-05 21:20 ` Stefan Monnier
2019-11-06  5:08   ` Pankaj Jangid
2019-11-06  8:03     ` YUE Daian
2019-11-06 10:34       ` Pankaj Jangid
2019-11-06 16:09     ` Eli Zaretskii
2019-11-06 18:34       ` Pankaj Jangid

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.