Emacs: how to get the default theme?

后端 未结 5 1988
悲&欢浪女
悲&欢浪女 2021-02-13 03:18

I\'ve been using the default theme with about 10 faces changed via custom-set-faces for a while now. But from time to time I want to try out a couple of the custom

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-13 03:27

    I have something like this in my emacs config to change themes:

    (defun zenburn ()
    "Activate zenburn theme."
    (interactive)
    (setq dark-theme t)
    ;; disable other themes before setting this theme
    (disable-theme 'soft-stone)
    (disable-theme 'leuven)
    (load-theme 'zenburn t))
    

提交回复
热议问题