branch: externals/modus-themes
commit f8881652d3e7b37642b4d4e4b485ba998d90ebd4
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Fix the feature of custom-declare-theme that we pass
---
 modus-themes.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modus-themes.el b/modus-themes.el
index 131d4c4b0e..a6ec247faa 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -8116,7 +8116,7 @@ OVERRIDES-PALETTE have the same meaning as in 
`modus-themes-theme'.
 
 To simply register the theme, use `modus-themes-register'."
   (custom-declare-theme
-   name family
+   name (intern (format "%s-theme" name))
    description
    (list :kind 'color-scheme :background-mode background-mode :family family
          :modus-core-palette core-palette :modus-user-palette user-palette
@@ -8146,7 +8146,8 @@ corresponding entries."
        ,@(unless theme-exists-p
            (list
             `(modus-themes-declare
-              ',name ',family ,description ',background-mode
+              ',name ',family ',(intern (format "%s-theme" name))
+              ,description ',background-mode
               ',core-palette ',user-palette ',overrides-palette)))
        ,@(unless (eq family 'modus-themes)
            (list

Reply via email to