branch: externals/modus-themes
commit b2e0aff5edcdcb5f79a072dcba3f4c0c26ec1000
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.
---
 modus-operandi-deuteranopia-theme.el | 1 +
 modus-operandi-theme.el              | 1 +
 modus-operandi-tinted-theme.el       | 1 +
 modus-operandi-tritanopia-theme.el   | 1 +
 modus-vivendi-deuteranopia-theme.el  | 1 +
 modus-vivendi-theme.el               | 1 +
 modus-vivendi-tinted-theme.el        | 1 +
 modus-vivendi-tritanopia-theme.el    | 1 +
 8 files changed, 8 insertions(+)

diff --git a/modus-operandi-deuteranopia-theme.el 
b/modus-operandi-deuteranopia-theme.el
index fcfa834dd1..a96a8b6c17 100644
--- a/modus-operandi-deuteranopia-theme.el
+++ b/modus-operandi-deuteranopia-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-operandi-deuteranopia
  'modus-themes
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index afb717876d..667e0996d9 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-operandi
  'modus-themes
diff --git a/modus-operandi-tinted-theme.el b/modus-operandi-tinted-theme.el
index a84795df5a..926b74f8d1 100644
--- a/modus-operandi-tinted-theme.el
+++ b/modus-operandi-tinted-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-operandi-tinted
  'modus-themes
diff --git a/modus-operandi-tritanopia-theme.el 
b/modus-operandi-tritanopia-theme.el
index 095a311e9c..67cd81c8e2 100644
--- a/modus-operandi-tritanopia-theme.el
+++ b/modus-operandi-tritanopia-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-operandi-tritanopia
  'modus-themes
diff --git a/modus-vivendi-deuteranopia-theme.el 
b/modus-vivendi-deuteranopia-theme.el
index b7f5e0d1fa..5dd5844466 100644
--- a/modus-vivendi-deuteranopia-theme.el
+++ b/modus-vivendi-deuteranopia-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-vivendi-deuteranopia
  'modus-themes
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 2755d356d3..30475769b5 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-vivendi
  'modus-themes
diff --git a/modus-vivendi-tinted-theme.el b/modus-vivendi-tinted-theme.el
index 368b01ad68..43133def94 100644
--- a/modus-vivendi-tinted-theme.el
+++ b/modus-vivendi-tinted-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-vivendi-tinted
  'modus-themes
diff --git a/modus-vivendi-tritanopia-theme.el 
b/modus-vivendi-tritanopia-theme.el
index 0c00870472..2a2dd7f7f9 100644
--- a/modus-vivendi-tritanopia-theme.el
+++ b/modus-vivendi-tritanopia-theme.el
@@ -74,6 +74,7 @@ represents."
   :type '(repeat (list symbol (choice symbol string)))
   :link '(info-link "(modus-themes) Palette overrides"))
 
+;;;###theme-autoload
 (modus-themes-theme
  'modus-vivendi-tritanopia
  'modus-themes

Reply via email to