From: Pankaj Jangid <pankaj.jangid@gmail.com>
To: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Enable/disable theme while using desktop-save-mode
Date: Tue, 05 Nov 2019 22:07:43 +0530 [thread overview]
Message-ID: <m2k18emg88.fsf@gmail.com> (raw)
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
next reply other threads:[~2019-11-05 16:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-05 16:37 Pankaj Jangid [this message]
2019-11-05 21:20 ` Enable/disable theme while using desktop-save-mode 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2k18emg88.fsf@gmail.com \
--to=pankaj.jangid@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.