From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johs Newsgroups: gmane.emacs.help Subject: "Wrong type argument: stringp, nil"?? Date: Mon, 28 Aug 2006 08:44:16 +0200 Organization: Department of Computer Science, University of Copenhagen Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1156750931 15284 80.91.229.2 (28 Aug 2006 07:42:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Aug 2006 07:42:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 28 09:42:08 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GHbkv-0001nz-Q3 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Aug 2006 09:42:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHbku-00007T-Q5 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Aug 2006 03:42:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.net.uni-c.dk!munin.diku.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: app-1.diku.dk Original-X-Trace: munin.diku.dk 1156747456 79133 130.225.96.213 (28 Aug 2006 06:44:16 GMT) Original-X-Complaints-To: news@diku.dk Original-NNTP-Posting-Date: Mon, 28 Aug 2006 06:44:16 +0000 (UTC) User-Agent: KNode/0.8.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:141360 Original-To: help-gnu-emacs@gnu.org 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:36980 Archived-At: I have an .emacs file that only contains: (if(string-match "^app"(getenv "HOSTNAME")) (add-hook 'text-mode-hook 'flyspell-mode)) But when I start emacs I get the error: "Wrong type argument: stringp, nil" If I comment out the above two lines I get no error. Any ideas?