Skip to content

anler/remember-last-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Remember Last Theme(s)

This package makes possible that when you quit Emacs, the current theme(s) settings will be stored as if they had been set using customize-themes, and restored back in the next session when your custom-file is loaded.

https://raw.githubusercontent.com/anler/remember-last-theme/master/usage.gif

Installation

Using Emacs’ built-in customization

NOTICE make sure your custom-file is loaded when you start Emacs, otherwise the saved theme(s) won’t activate.

Manual

Download remember-last-theme.el to some place in your emacs’ load path and add the following to your emacs’ initialization file:

(require 'remember-last-theme)
(remember-last-theme-enable)
; (load custom-file) if you are not doing it already

With use-package

(use-package remember-last-theme
  :ensure t
  :config (remember-last-theme-enable)
          ; (load custom-file) if you are not doing it already
  )

Using an external file

You can also use an external file for saving the theme settings. This is particular useful if from time to time you declare custom-file bankruptcy due to the file getting inconsistent.

Manual

Download remember-last-theme.el to some place in your emacs’ load path and add the following to your emacs’ initialization file:

(require 'remember-last-theme)
(remember-last-theme-with-file-enable "path to file")

With use-package

(use-package remember-last-theme
  :ensure t
  :config (remember-last-theme-with-file-enable "path to file"))

About

Remember the last used theme between Emacs' sessions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published