Update theme files for Emacs 28 inclusion+upgrade

The themes are already in Emacs, but we have to use a new function for
things to work as intended with the new version of the files (check the
Emacs source code for the technicalities of 'require-theme').

This is in preparation of the imminent release of version 1.2.0.
This commit is contained in:
Protesilaos Stavrou 2021-03-03 19:21:57 +02:00
parent b5a198df86
commit 0a5ec7dbe0
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 6 additions and 2 deletions

View file

@ -50,7 +50,9 @@
(require 'modus-themes)
(if (>= emacs-major-version 28)
(require-theme 'modus-themes)
(require 'modus-themes))
(deftheme modus-operandi
"Accessible and customizable light theme (WCAG AAA standard).

View file

@ -50,7 +50,9 @@
(require 'modus-themes)
(if (>= emacs-major-version 28)
(require-theme 'modus-themes)
(require 'modus-themes))
(deftheme modus-vivendi
"Accessible and customizable light theme (WCAG AAA standard).