From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lawrence Mitchell Newsgroups: gmane.emacs.help Subject: Re: natbib, emacs, & ispell Date: Sun, 09 Jan 2005 13:28:23 +0000 Organization: funfunfun Message-ID: References: <34cjjgF4846dbU1@individual.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105277615 21194 80.91.229.6 (9 Jan 2005 13:33:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Jan 2005 13:33:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 09 14:33:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CndCE-00046M-00 for ; Sun, 09 Jan 2005 14:33:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CndNg-0007Yp-IO for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jan 2005 08:45:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-X-Trace: individual.net TLAjUoOQSVgcP4gSpDo6tA/TTe6QUd4FuiIaffOBAf5hGbLCg= X-No-Yes: No Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 Cancel-Lock: sha1:7qBBs0rTYgJj0qD5KxeX+lirPWU= Original-Xref: shelby.stanford.edu gnu.emacs.help:127761 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: main.gmane.org gmane.emacs.help:23230 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23230 Ralf Angeli wrote: [...] > (eval-after-load "ispell" > (let ((list (car ispell-tex-skip-alists))) > (add-to-list 'list '("\\\\cite[tp]" ispell-tex-arg-end)) > (setcar ispell-tex-skip-alists list))) > But in my case this actually results in an "invalid-function" error as > soon as one loads ispell.el e.g. with `M-x load-library RET ispell > RET'. You need to quote the form in eval-after-load, as it's a function not a macro, i.e. (eval-after-load "ispell" '(let ((list (car ispell-tex-skip-alists))) (add-to-list 'list '("\\\\cite[tp]" ispell-tex-arg-end)) (setcar ispell-tex-skip-alists list))) -- Lawrence Mitchell