mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
These should have the my/ tag, so that I can find them easier
This commit is contained in:
parent
4d96845b79
commit
7c45f3ddae
1 changed files with 2 additions and 2 deletions
|
|
@ -1102,14 +1102,14 @@
|
|||
(defvar dark-theme 'calm-forest)
|
||||
(defvar light-theme 'modus-operandi)
|
||||
|
||||
(defun switch-themes ()
|
||||
(defun my/switch-themes ()
|
||||
(interactive)
|
||||
(disable-current-theme)
|
||||
(setq current-theme (if (eq current-theme 'dark) 'light 'dark))
|
||||
(enable-current-theme)
|
||||
(set-background-mode current-theme))
|
||||
|
||||
(defun reload-theme ()
|
||||
(defun my/reload-theme ()
|
||||
(interactive)
|
||||
(disable-current-theme)
|
||||
(enable-current-theme)
|
||||
|
|
|
|||
Loading…
Reference in a new issue