diff --git a/modus-themes.el b/modus-themes.el index b75a3d8..19ae4ff 100644 --- a/modus-themes.el +++ b/modus-themes.el @@ -4089,7 +4089,7 @@ by virtue of calling either of `modus-themes-load-operandi' and ('modus-vivendi (modus-themes-load-operandi)) (_ (modus-themes--load-prompt)))) -(when (or (fboundp 'toggle-theme) (>= emacs-major-version 29)) +(when (fboundp 'toggle-theme) (define-obsolete-function-alias 'modus-themes-toggle 'toggle-theme