[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes ed6b3e4df4 4/5: Move variables further up the
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ef-themes ed6b3e4df4 4/5: Move variables further up the file |
Date: |
Fri, 19 Aug 2022 08:57:38 -0400 (EDT) |
branch: externals/ef-themes
commit ed6b3e4df4aaa31734f582c0d35314d3a024fafe
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Move variables further up the file
---
ef-themes.el | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/ef-themes.el b/ef-themes.el
index d746f0ff8a..3f9174f22d 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -48,6 +48,27 @@
;;; User options
+(defconst ef-themes-collection
+ '(ef-autumn
+ ef-dark
+ ef-day
+ ef-deuteranopia-dark
+ ef-deuteranopia-light
+ ef-light
+ ef-night
+ ef-spring
+ ef-summer
+ ef-winter)
+ "Symbols of all the Ef themes.")
+
+(defconst ef-themes-light-themes
+ '(ef-day ef-light ef-spring ef-summer ef-deuteranopia-light)
+ "List of symbols with the light Ef themes.")
+
+(defconst ef-themes-dark-themes
+ '(ef-autumn ef-dark ef-night ef-winter ef-deuteranopia-dark)
+ "List of symbols with the dark Ef themes.")
+
(defcustom ef-themes-post-load-hook nil
"Hook that runs after loading an Ef theme.
This is used by the commands `ef-themes-select' and
@@ -216,27 +237,6 @@ sequence given SEQ-PRED, using SEQ-DEFAULT as a fallback."
;;; Commands and their helper functions
-(defconst ef-themes-collection
- '(ef-autumn
- ef-dark
- ef-day
- ef-deuteranopia-dark
- ef-deuteranopia-light
- ef-light
- ef-night
- ef-spring
- ef-summer
- ef-winter)
- "Symbols of all the Ef themes.")
-
-(defconst ef-themes-light-themes '( ef-day ef-light ef-spring ef-summer
- ef-deuteranopia-light)
- "List of symbols with the light Ef themes.")
-
-(defconst ef-themes-dark-themes '( ef-autumn ef-dark ef-night ef-winter
- ef-deuteranopia-dark)
- "List of symbols with the dark Ef themes.")
-
(defun ef-themes--list-enabled-themes ()
"Return list of `custom-enabled-themes' with ef- prefix."
(seq-filter