When switching themes, only do so temporarily
If changes need to be done permanently, customize `custom-enabled-themes'.
This commit is contained in:
parent
67efe7f4c2
commit
5b6dcfe8d2
@ -438,13 +438,15 @@ it. The bookmarks will finally be sorted by their name."
|
||||
"Switch to dark theme.
|
||||
This is `db-dark' and `solarized-dark'."
|
||||
(interactive)
|
||||
(custom-set-variables '(custom-enabled-themes '(db-dark solarized-dark))))
|
||||
(load-theme 'solarized-dark)
|
||||
(load-theme 'db-dark))
|
||||
|
||||
(defun db/switch-to-light-theme ()
|
||||
"Switch to dark theme.
|
||||
This is `db-light' and `solarized-light'."
|
||||
(interactive)
|
||||
(custom-set-variables '(custom-enabled-themes '(db-light solarized-light))))
|
||||
(load-theme 'solarized-light)
|
||||
(load-theme 'db-light))
|
||||
|
||||
|
||||
;;; End
|
||||
|
||||
Loading…
Reference in New Issue
Block a user