diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el index bcde386..6274088 100644 --- a/modus-operandi-theme.el +++ b/modus-operandi-theme.el @@ -50,7 +50,10 @@ -(require 'modus-themes) +(eval-and-compile + (unless (and (fboundp 'require-theme) + (require-theme 'modus-themes t)) + (require 'modus-themes))) (deftheme modus-operandi "Accessible and customizable light theme (WCAG AAA standard). diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el index d290929..347e6d2 100644 --- a/modus-vivendi-theme.el +++ b/modus-vivendi-theme.el @@ -50,7 +50,10 @@ -(require 'modus-themes) +(eval-and-compile + (unless (and (fboundp 'require-theme) + (require-theme 'modus-themes t)) + (require 'modus-themes))) (deftheme modus-vivendi "Accessible and customizable dark theme (WCAG AAA standard).