X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/51db62d880a52ad85f7f1e9f0e93f7404cd96ba9..37bf221837f08cdd5a6b1b0394a84ed8ccba1f65:/init.org diff --git a/init.org b/init.org index 06fa7e7..51bf6ed 100644 --- a/init.org +++ b/init.org @@ -319,6 +319,14 @@ in my shell. (exec-path-from-shell-copy-env "SSH_AUTH_SOCK")) #+end_src +** Only one custom theme at a time + +#+begin_src emacs-lisp +(defadvice load-theme (before clear-previous-themes activate) + "Clear existing theme settings instead of layering them" + (mapc #'disable-theme custom-enabled-themes)) +#+end_src + ** Server Start server if not already running. Alternatively, can be done by