all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'sam jesse'" <revrvr@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: function error at start up.
Date: Sun, 26 Jul 2009 10:52:39 -0700	[thread overview]
Message-ID: <B5977D48F9804BB5ABB75EFA5F4FD7EA@us.oracle.com> (raw)
In-Reply-To: <cc0a0f5c0907261015s1a9a8e96m7ea598a21fc3d57b@mail.gmail.com>

>>> (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	other threads:[~2009-07-26 17:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-26  6:31 function error at start up sam jesse
2009-07-26 17:04 ` Drew Adams
2009-07-26 17:15   ` sam jesse
2009-07-26 17:52     ` Drew Adams [this message]
2009-07-26 21:30       ` sam jesse
2009-07-26 21:40         ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B5977D48F9804BB5ABB75EFA5F4FD7EA@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=revrvr@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.