diff options
author | Alan Pearce | 2022-10-08 01:32:49 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-08 01:34:14 +0200 |
commit | 5c09d2dfaf73bd46320641f0bd122f0b855c0b3c (patch) | |
tree | 6fe07d8f5b0f0f4120afd0a3f25e8714cce5857d /user | |
parent | 656d8e4d87f89925bfbe627681d954528051183e (diff) | |
download | nixfiles-5c09d2dfaf73bd46320641f0bd122f0b855c0b3c.tar.lz nixfiles-5c09d2dfaf73bd46320641f0bd122f0b855c0b3c.tar.zst nixfiles-5c09d2dfaf73bd46320641f0bd122f0b855c0b3c.zip |
Emacs: enable calling my/set-dark-or-light-theme
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 6f1f60f7..32376080 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -75,6 +75,7 @@ (let ((light-mode-theme 'modus-operandi) (dark-mode-theme 'modus-vivendi)) (defun my/set-dark-or-light-theme () + (interactive) (let ((appearance (plist-get (mac-application-state) :appearance))) (mapc #'disable-theme custom-enabled-themes) (cond ((equal appearance "NSAppearanceNameAqua") |