On Mon, Jul 27, 2009 at 3:52 AM, Drew Adams
<drew.adams@oracle.com> wrote:
>>> (add-to-list 'load-path ("~/.emacs.d/plugins/color-theme-6.6.0"))
>>> Invalid function: ~/.emacs.d/plugins/color-theme-6.6.0
>>
>> You need to quote both args to `add-to-list':
>> (add-to-list 'load-path '("~/.emacs.d/plugins/color-theme-6.6.0"))
>
> when I do as you suggested. I get
> File error: Cannot open load file, color-theme
Oh, right; sorry about that. The second arg to `add-to-list' here needs to be a
directory name, not a list of directory names:
(add-to-list 'load-path "~/.emacs.d/plugins/color-theme-6.6.0")
You are adding the element "~/.emacs.d/plugins/color-theme-6.6.0" to the value
of variable `load-path'.