I am trying to get emacs(emacs24) to load with another colortheme (looking to have a 'dark' theme). In my init.el file I have the lines:

(eval-after-load "color-theme"

When I load emacs, nothing changes. I have also tried ‘M-x color-theme-select’, ‘M-x color-theme-select-hober’, and ‘M-x color-theme-select-robin-hood’ and I have a no match message.

I have also tried to include in my init.el file (eval-after-load "color-theme" '(color-theme-robin-hood)). I am able to include the julia-mode file so the placement of the init.el file seems to be alright. I have seen that there are some installation steps, but do not know if they are needed.

( I have also followed the instructions in link. I have also included in my 'themes' folder various folders to load for a theme, here is my init.el file currently)

(add-to-list 'load-path "./")
(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(require 'julia-mode)
(tool-bar-mode 0)
(menu-bar-mode -1)
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
  • 1
    Are you perhaps confusing color themes with custom themes? It's unfortunate that when Emacs added the latter, years after the former was introduced, it used a similar name. (And it was warned about the possible confusion at the time.) But it did. – Drew Feb 9 '18 at 0:47
  • @Drew, that could be it. could you provide some indication of what I should be doing? I put now (eval-after-load "color-theme" '(color-theme-robin-hood)) (require 'color-theme) (setq color-theme-is-global t) (color-theme-robin-hood), but still I get errors – Vass Feb 9 '18 at 2:03
  • 1
    That's what the color themes page says to do: (require 'color-theme)(color-theme-initialize)(color-theme-robin-hood), but you need to put color-theme.el in your load-path first. – Drew Feb 9 '18 at 3:18
  • Could you please provide an answer with a minimum working answer and a simple explanation? – Vass Feb 9 '18 at 5:38

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.