aboutsummaryrefslogtreecommitdiff
path: root/ef-spring-theme.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2022-12-01 07:50:28 +0200
committerProtesilaos Stavrou <info@protesilaos.com>2022-12-01 07:53:11 +0200
commit8c9ae194d6666436f8194a32abb0c4f15c1f82fc (patch)
tree0b8737663b8b3cf1a3e62e7adf27397cb74ce6dc /ef-spring-theme.el
parent0eabe6cbd77379f921bb7a555b117f5170bfa6e5 (diff)
Add theme-autoload cookies (revert commit f7e85a4)
These seem to work with Emacs 27, whereas adding those in the 'deftheme' form produces an error.
Diffstat (limited to 'ef-spring-theme.el')
-rw-r--r--ef-spring-theme.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/ef-spring-theme.el b/ef-spring-theme.el
index eb74170..d570ff2 100644
--- a/ef-spring-theme.el
+++ b/ef-spring-theme.el
@@ -38,10 +38,7 @@
(require 'ef-themes)
(deftheme ef-spring
- "Legible light theme with cool, varied colors (green, cyan, red)."
- :background-mode 'light
- :kind 'color-scheme
- :family 'ef)
+ "Legible light theme with cool, varied colors (green, cyan, red).")
(defconst ef-spring-palette
'(;; Basic tones
@@ -204,4 +201,7 @@
(provide-theme 'ef-spring))
+;;;###theme-autoload
+(put 'ef-spring 'theme-properties '(:background-mode light :kind color-scheme :family ef))
+
;;; ef-spring-theme.el ends here