branch: externals/ef-themes
commit 9a2fc836dfecdcd8ebf75c76db2839537ad7bc96
Author: Jonas Collberg <[email protected]>
Commit: Jonas Collberg <[email protected]>
Simplify ef-themes--current-theme further
---
ef-themes.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ef-themes.el b/ef-themes.el
index d5347a2b9c..c40c4b8c48 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -319,8 +319,7 @@ sequence given SEQ-PRED, using SEQ-DEFAULT as a fallback."
(defun ef-themes--current-theme ()
"Return first enabled Ef theme."
- (when-let* ((theme (car (ef-themes--list-enabled-themes))))
- theme))
+ (car (ef-themes--list-enabled-themes)))
(defun ef-themes--palette (theme)
"Return THEME palette as a symbol."