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: sam jesse
Subject: Re: function error at start up.
Date: Mon, 27 Jul 2009 07:30:05 +1000

Thank you. that fixed it.

Can I install Cedet and the ECB "code browser window" in my Windows XP box where I currently have emacs installed?
I have GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600).



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






reply via email to

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