How to make Emacs reload the last used color scheme when restarting the editor? reddit / emacs ---------------------------------------------------------------------- zoliky · 2022-08-22 01:08 I'm currently using this: (use-package gruvbox-theme :config (load-theme 'gruvbox-dark-medium t)) The problem is that the theme is loaded using the hardcoded `load- theme` function. I would like to use the `modus-operandi` as my default color scheme because it is part of Emacs. However, if I have a 3rd party color scheme installed and I enable that using `consult-theme` is it possible to make Emacs remember and load that the next time I restart the editor? ---------------------------------------------------------------------- lebensterben · 2022-08-22 01:11 to remember something from last run, you need to store it somewhere. So what you need to do is to write the variable's value to a place and a read it. ---------------------------------------------------------------------- Acebulf · 2022-08-22 02:58 Right now I'm using modus-vivendi, and I have this in my custom-set- variables in my .emacs file. (custom-set-variables ;; '(custom-enabled-themes '(modus-vivendi))) ---------------------------------------------------------------------- mahmooz · 2022-08-22 06:43 you can use `(desktop-save-mode 1)`