LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   emacs 24: save theme permanently after choosing it (https://www.linuxquestions.org/questions/linux-software-2/emacs-24-save-theme-permanently-after-choosing-it-4175446962/)

stateless 01-23-2013 06:39 PM

emacs 24: save theme permanently after choosing it
 
Hi. Under Emacs 24 I figured out that I could select a pre-designed color theme with M-x load-theme. But what do I do to make that theme automatically activate on start up?

lykwydchykyn 01-23-2013 10:12 PM

In Emacs 24, instead of using load-theme try M-x customize-theme. Then just check the theme you want, accept the various warnings, and save the customize buffer.

If your theme gets updated, you have to do this again, as a security measure.

stateless 01-24-2013 02:59 PM

Quote:

Originally Posted by lykwydchykyn (Post 4876561)
In Emacs 24, instead of using load-theme try M-x customize-theme. Then just check the theme you want, accept the various warnings, and save the customize buffer.

If your theme gets updated, you have to do this again, as a security measure.

Thanks, that worked. Since you seem knowledgeable: Is it difficult to tweak some part of your current theme (say, the background color) and then save the changes? (Especially, without having to mess around with the .emacs file yourself.)

lykwydchykyn 01-25-2013 09:42 AM

As far as I know, no; you have to probably edit the theme files yourself. Don't fear editing your .emacs, that's just part of using emacs.


All times are GMT -5. The time now is 01:40 AM.