branch: externals/standard-themes
commit 10af6659bf2a63212fcd83fcd1106d0468d53308
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Add back theme-autoload cookies to all theme files
    
    I tried to do this with a recent commit but that broke things because
    I also included a deftheme declaration. Having that meant that
    modus-themes-theme would not declare the theme with all its data,
    including its palette.
    
    I looked at loaddefs-generate--emacs-batch and it seems that having
    just the theme-autoload line is enough.
---
 standard-adwaita-theme.el      | 1 +
 standard-dark-theme.el         | 1 +
 standard-dark-tinted-theme.el  | 1 +
 standard-light-theme.el        | 1 +
 standard-light-tinted-theme.el | 1 +
 standard-wombat-theme.el       | 1 +
 6 files changed, 6 insertions(+)

diff --git a/standard-adwaita-theme.el b/standard-adwaita-theme.el
index bbad5b06ea..6843ce7ce3 100644
--- a/standard-adwaita-theme.el
+++ b/standard-adwaita-theme.el
@@ -172,6 +172,7 @@
     `(gnus-header-content ((,c :foreground ,magenta-intense)))
     `(gnus-button ((,c :weight bold :foreground ,cyan-faint)))))
 
+;;;###theme-autoload
 (modus-themes-theme
  'standard-adwaita
  'standard-themes
diff --git a/standard-dark-theme.el b/standard-dark-theme.el
index 7d88942be1..a49a7c8489 100644
--- a/standard-dark-theme.el
+++ b/standard-dark-theme.el
@@ -200,6 +200,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(standard-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'standard-dark
  'standard-themes
diff --git a/standard-dark-tinted-theme.el b/standard-dark-tinted-theme.el
index f77797796c..310c79b185 100644
--- a/standard-dark-tinted-theme.el
+++ b/standard-dark-tinted-theme.el
@@ -199,6 +199,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(standard-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'standard-dark-tinted
  'standard-themes
diff --git a/standard-light-theme.el b/standard-light-theme.el
index ce90b16dd0..8f6137171c 100644
--- a/standard-light-theme.el
+++ b/standard-light-theme.el
@@ -199,6 +199,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(standard-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'standard-light
  'standard-themes
diff --git a/standard-light-tinted-theme.el b/standard-light-tinted-theme.el
index a6aa7c868c..2c0cd6c94f 100644
--- a/standard-light-tinted-theme.el
+++ b/standard-light-tinted-theme.el
@@ -198,6 +198,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(standard-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'standard-light-tinted
  'standard-themes
diff --git a/standard-wombat-theme.el b/standard-wombat-theme.el
index 858d2162a6..374a760d33 100644
--- a/standard-wombat-theme.el
+++ b/standard-wombat-theme.el
@@ -189,6 +189,7 @@
     `(message-header-name ((,c :foreground ,blue :weight bold)))
     `(message-separator ((,c :foreground ,red :weight bold)))))
 
+;;;###theme-autoload
 (modus-themes-theme
  'standard-wombat
  'standard-themes

Reply via email to