From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: function error at start up. Date: Sun, 26 Jul 2009 10:52:39 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1248630814 11867 80.91.229.12 (26 Jul 2009 17:53:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jul 2009 17:53:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'sam jesse'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 26 19:53:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MV7uZ-00021K-7k for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2009 19:53:27 +0200 Original-Received: from localhost ([127.0.0.1]:56584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV7uY-0002Zb-Jy for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2009 13:53:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MV7tq-0002PN-OS for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:52:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MV7tm-0002MF-3d for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:52:42 -0400 Original-Received: from [199.232.76.173] (port=35406 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV7tl-0002M5-QJ for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:52:37 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:40073 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MV7tl-0005Aa-BX for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:52:37 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QHq6o7023176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Jul 2009 17:52:08 GMT Original-Received: from abhmt003.oracle.com (abhmt003.oracle.com [141.146.116.12]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QHqf7L000374; Sun, 26 Jul 2009 17:52:42 GMT Original-Received: from dradamslap1 (/141.144.232.119) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 26 Jul 2009 10:52:30 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcoOFOxLwiK0D8JNQ02J5A2JZeJOKgABHn6w X-Source-IP: abhmt003.oracle.com [141.146.116.12] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A6C97DF.008D:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66401 Archived-At: >>> (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'.