[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:04:42 -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"))
^
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).