summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2022-10-08 01:32:49 +0200
committerAlan Pearce2022-10-08 01:34:14 +0200
commit5c09d2dfaf73bd46320641f0bd122f0b855c0b3c (patch)
tree6fe07d8f5b0f0f4120afd0a3f25e8714cce5857d /user/emacs
parent656d8e4d87f89925bfbe627681d954528051183e (diff)
downloadnixfiles-5c09d2dfaf73bd46320641f0bd122f0b855c0b3c.tar.lz
nixfiles-5c09d2dfaf73bd46320641f0bd122f0b855c0b3c.tar.zst
nixfiles-5c09d2dfaf73bd46320641f0bd122f0b855c0b3c.zip
Emacs: enable calling my/set-dark-or-light-theme
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el1
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")