[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes e0dfcdf1b1: Make ef-themes--load-theme return
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/ef-themes e0dfcdf1b1: Make ef-themes--load-theme return the THEME it operates on |
|
Date: |
Tue, 23 May 2023 04:57:44 -0400 (EDT) |
branch: externals/ef-themes
commit e0dfcdf1b109c4bcc7989264c27050951824711c
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make ef-themes--load-theme return the THEME it operates on
The intent is to allow other functions that call this one to capture
the return value for their purposes.
---
ef-themes.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/ef-themes.el b/ef-themes.el
index 76951cf5b5..0990fe0926 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -603,10 +603,13 @@ Which themes are disabled is determined by the user option
`ef-themes-disable-other-themes'.
Run the `ef-themes-post-load-hook' as the final step after
-loading the THEME."
+loading the THEME.
+
+Return THEME."
(ef-themes--disable-themes)
(load-theme theme :no-confirm)
- (run-hooks 'ef-themes-post-load-hook))
+ (run-hooks 'ef-themes-post-load-hook)
+ theme)
;;;###autoload
(defun ef-themes-select (theme &optional _variant)
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/ef-themes e0dfcdf1b1: Make ef-themes--load-theme return the THEME it operates on,
ELPA Syncer <=