diff options
| author | Protesilaos Stavrou <info@protesilaos.com> | 2025-11-22 16:49:36 +0200 |
|---|---|---|
| committer | Protesilaos Stavrou <info@protesilaos.com> | 2025-11-22 16:49:36 +0200 |
| commit | bcdab273b5bdba730d717799ca5279a76a478577 (patch) | |
| tree | 7b71cfe23c062002b2341b40971391f1efe49ef0 | |
| parent | 42d202b6a92841d075b0dd4008a2e94eb2f51764 (diff) | |
Implement compatibility commands ef-themes-select-{dark,light}
We used to have those and I thought they were back in after the
redesign on top of Modus. But I never did that until the latest
commits to modus-themes.git.
This:
commit a472f546459a80f3c95255118831d35a6dcbddf0
Author: Protesilaos Stavrou <info@protesilaos.com>
Date: Sat Nov 22 16:47:08 2025 +0200
Update modus-themes-define-derivative-command-known-suffixes to include select-{dark,light}
And this:
commit c270cd8f5ea431534b5e9d6455239d890d9ed055
Author: Protesilaos Stavrou <info@protesilaos.com>
Date: Sat Nov 22 14:14:49 2025 +0200
Implement convenience commands modus-themes-select-{dark,light}
doc/modus-themes.info | 348 +++++++++++++++++++++++++++-----------------------
doc/modus-themes.org | 25 +++-
modus-themes.el | 54 ++++++--
3 files changed, 250 insertions(+), 177 deletions(-)
| -rw-r--r-- | README.org | 6 | ||||
| -rw-r--r-- | ef-themes.el | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -189,6 +189,12 @@ thus convenience wrappers around the equivalent Modus commands. #+findex: ef-themes-select - ~ef-themes-select~ +#+findex: ef-themes-select-dark +- ~ef-themes-select-dark~ [ Part of {{{development-version}}}. ] + +#+findex: ef-themes-select-light +- ~ef-themes-select-light~ [ Part of {{{development-version}}}. ] + #+findex: ef-themes-load-random - ~ef-themes-load-random~ diff --git a/ef-themes.el b/ef-themes.el index 645d530..6abbc66 100644 --- a/ef-themes.el +++ b/ef-themes.el @@ -304,6 +304,12 @@ Ef themes." ;;;###autoload (autoload 'ef-themes-select "ef-themes") (modus-themes-define-derivative-command ef-themes select) +;;;###autoload (autoload 'ef-themes-select-dark "ef-themes") +(modus-themes-define-derivative-command ef-themes select-dark) + +;;;###autoload (autoload 'ef-themes-select-light "ef-themes") +(modus-themes-define-derivative-command ef-themes select-light) + ;;;###autoload (autoload 'ef-themes-load-random "ef-themes") (modus-themes-define-derivative-command ef-themes load-random) |
