mirror of
https://github.com/protesilaos/modus-themes.git
synced 2026-09-10 07:16:30 -04:00
Deprecate modus-themes-toggle in Emacs 29
This is done to be consistent with the work done in emacs.git. Thanks to Philip Kaludercic and Rudolf Adamkovič for their feedback on the mailing list: <https://lists.sr.ht/~protesilaos/modus-themes/%3C877d116lh4.fsf%40posteo.net%3E>.
This commit is contained in:
parent
6783341110
commit
59da1b3511
|
|
@ -4089,6 +4089,12 @@ 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))
|
||||
(define-obsolete-function-alias
|
||||
'modus-themes-toggle
|
||||
'toggle-theme
|
||||
"2.8.0"))
|
||||
|
||||
|
||||
|
||||
;;;; Face specifications
|
||||
|
|
|
|||
Loading…
Reference in a new issue