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 03:15:41 +1000

when I do as you suggested. I get

File error: Cannot open load file, color-theme


On Mon, Jul 27, 2009 at 3:04 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"))
                       ^
                     quote

Without the quote, (foo) is interpreted as a call of function `foo' - in this
case, a call of ~/.emacs.d/plugins/color-theme-6.6.0 (which is not a valid
function).




reply via email to

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