branch: externals/ef-themes
commit ae59638da75148c7b0d2d3374af283737848f49d
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Add ef-themes--list-enabled-themes for "ef-" items
---
ef-themes.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ef-themes.el b/ef-themes.el
index 26a1a37865..3b1dd81ca2 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -49,6 +49,13 @@
;;; Commands and their helper functions
+(defun ef-themes--list-enabled-themes ()
+ "Return list of `custom-enabled-themes' with ef- prefix."
+ (seq-filter
+ (lambda (theme)
+ (string-prefix-p "ef-" (symbol-name theme)))
+ custom-enabled-themes))
+
(defun ef-themes--list-known-themes ()
"Return list of `custom-known-themes' with ef- prefix."
(seq-filter