I searched everywhere and mostly people suggest the following code for setting a default color theme:
(require 'color-theme)
(color-theme-name)
However, this doesn't work. When I start emacs I get this error:
Warning (initialization): An error occurred while loading `/home/epsilonvector/.emacs':
Symbol's function definition is void: color-theme-name
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace.
This happens for every theme name, even ones whose correctness I'm sure of.
What am I missing?