[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes 8448e1fc16 254/281: Move helper function furt
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ef-themes 8448e1fc16 254/281: Move helper function further up in the outline |
Date: |
Tue, 16 Aug 2022 16:58:39 -0400 (EDT) |
branch: externals/ef-themes
commit 8448e1fc16108c97c7cfecff4de32626946dd080
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Move helper function further up in the outline
---
ef-themes.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/ef-themes.el b/ef-themes.el
index ea8acb3376..fb72c67900 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -63,6 +63,15 @@
(string-prefix-p "ef-" (symbol-name theme)))
custom-known-themes))
+(defun ef-themes--current-theme-palette ()
+ "Return palette of active Ef theme, else produce `user-error'."
+ (if-let* ((themes (ef-themes--list-enabled-themes))
+ (palette (intern
+ (format "%s-palette"
+ (car themes)))))
+ palette
+ (user-error "No enabled Ef theme could be found")))
+
(defvar ef-themes--select-theme-history nil)
(defun ef-themes--select-prompt ()
@@ -939,15 +948,6 @@ Those are stored in `ef-themes-faces' and
;;; Use theme colors
-(defun ef-themes--current-theme-palette ()
- "Return palette of active Ef theme, else produce `user-error'."
- (if-let* ((themes (ef-themes--list-enabled-themes))
- (palette (intern
- (format "%s-palette"
- (car themes)))))
- palette
- (user-error "No enabled Ef theme could be found")))
-
(defmacro ef-themes-with-colors (&rest body)
"Evaluate BODY with colors from current palette bound."
(declare (indent 0))
- [elpa] externals/ef-themes c58d08befd 242/281: ef-summer: tweak bg-info, (continued)
- [elpa] externals/ef-themes c58d08befd 242/281: ef-summer: tweak bg-info, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 862a358924 258/281: ef-winter: tweak bg-yellow, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 63d90c6698 259/281: ef-winter: tweak bg-red, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 06d385e3d0 145/281: ef-night: refine info and err backgrounds, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes e8fc62ee35 149/281: ef-night: refine blue-warmer, magenta-cooler, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 30ad91cff6 172/281: ef-spring: tweak red-faint, yellow-faint, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 2c490830ea 249/281: Implement ef-themes-with-colors macro, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 6cf9f27a26 269/281: Update ef-winter contrast table (per 3ac1855), ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes ef4b2ec098 246/281: Tweak dired-mark foreground, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes e8f7a8adca 250/281: Reorder code that adds themes to path, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 8448e1fc16 254/281: Move helper function further up in the outline,
ELPA Syncer <=