help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: function error at start up.


From: Drew Adams
Subject: RE: function error at start up.
Date: Sun, 26 Jul 2009 10:52:39 -0700

>>> (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'.
                







reply via email to

[Prev in Thread] Current Thread [Next in Thread]