branch: externals/ef-themes
commit e01a926df3399ec61637e4cbcaafaa51df87de1e
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Define obsolete alias for ef-themes-load-theme
---
 ef-themes.el | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/ef-themes.el b/ef-themes.el
index b1c98bf800..61c814b7f1 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -212,6 +212,22 @@ and Modus into a single group, enable 
`modus-themes-include-derivatives-mode'."
 
 ;;;; Compatibility with older versions of the Ef themes
 
+(define-obsolete-function-alias 'ef-themes-load-theme 'modus-themes-load-theme
+  "Since version 2.0.0, `ef-themes' derive from the `modus-themes'.
+You can configure the `ef-themes' via the user options of the
+`modus-themes'.
+
+To make all the Modus commands that operate on a theme consider only Ef
+themes, enable `ef-themes-take-over-modus-themes-mode'.  Or, if you
+prefer to blend Ef and Modus into a single group, enable
+`modus-themes-include-derivatives-mode' instead.
+
+Alternatively, use the commands `ef-themes-rotate', `ef-themes-select',
+`ef-themes-load-random', `ef-themes-load-random-dark',
+`ef-themes-load-random-light', `ef-themes-list-colors',
+`ef-themes-list-colors-current'.  They are all designed to only consider
+Ef themes.")
+
 (define-obsolete-function-alias 'ef-themes-toggle 'modus-themes-toggle
   "Since version 2.0.0, `ef-themes' derive from the `modus-themes'.
 You can configure the `ef-themes' via the user options of the

Reply via email to