bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19999: 24.4; Selecting Mutiple Custom Themes


From: Mauro Aranda
Subject: bug#19999: 24.4; Selecting Mutiple Custom Themes
Date: Mon, 6 Jan 2020 11:55:16 -0300

tags 19999 patch
thanks

Daniel E. Doherty <ded-law@ddoherty.net> writes:

> (customize-themes)
> Check "Select more than one theme at a time"
> Check "leuven"
> Check "wombat"
> Click "Save Theme Settings"
>
> Open custom.el
>
> Only one of the themes is enabled.

I'm able to reproduce this on the release branch.

enable-theme, which is called while setting custom-enabled-themes,
destructively modifies custom-enabled-themes, thus affecting what will
be stored in the 'saved-value property of custom-enabled-themes when
saving it with custom-theme-save.

One possible fix is to make the updating of custom-enabled-themes in
enable-theme side-effect free, as the attached patch does.

Best regards,
Mauro.

Attachment: 0001-Fix-saving-multiple-themes.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]