why cant emacs 24 find a custom theme I added?

前端 未结 4 1033
难免孤独
难免孤独 2021-02-04 12:10

My entire emacs setup is here

I loaded my init-theme.el file here

And supposedly that should make the darkclean theme available.

But when I type M-

4条回答
  •  盖世英雄少女心
    2021-02-04 12:56

    I m new to emacs and wanted to add some custom themes and create my own as well.

    first add this

    (add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
    

    then add any new theme to that folder. This first did not work and when i used load-theme the themes in ~/.emacs.d/thems where not loaded.

    the documentation says:

    Each theme file is named THEME-theme.el, where THEME is the theme name.

    so renaming darklean.el to darkclean-theme.el did the trick

提交回复
热议问题