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:04:42 -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 1248627915 2144 80.91.229.12 (26 Jul 2009 17:05:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jul 2009 17:05:15 +0000 (UTC) To: "'sam jesse'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 26 19:05:08 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 1MV79n-0002U6-2t for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2009 19:05:07 +0200 Original-Received: from localhost ([127.0.0.1]:58914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV79m-0005ma-HZ for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2009 13:05:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MV79R-0005mL-7O for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:04:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MV79M-0005ln-Pc for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:04:44 -0400 Original-Received: from [199.232.76.173] (port=54852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV79M-0005lk-KH for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:04:40 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:25458 helo=rgminet11.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 1MV79L-0003wN-Sy for help-gnu-emacs@gnu.org; Sun, 26 Jul 2009 13:04:40 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QH6MFm022184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Jul 2009 17:06:24 GMT Original-Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QH4j27015651; Sun, 26 Jul 2009 17:04:45 GMT Original-Received: from dradamslap1 (/141.144.232.119) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 26 Jul 2009 10:04:33 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcoOEIzrwVHAo5ybTPq59uRNnG5SMwAAjSng X-Source-IP: abhmt007.oracle.com [141.146.116.16] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010205.4A6C8CA2.0159: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:66395 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")) ^ 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).