auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Setting file-local list variables


From: Mark Elston
Subject: Re: [AUCTeX] Setting file-local list variables
Date: Thu, 22 May 2008 10:36:53 -0700
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)


* Ralf Angeli wrote (on 5/21/2008 2:06 PM):
* Mark Elston (2008-05-21) writes:

%%% eval: (eval-after-load "latex" '(progn
             (add-to-list 'LaTeX-verbatim-environments "CodeListing")
             (add-to-list 'LaTeX-verbatim-environments "OldCodeListing")
             (add-to-list 'LaTeX-verbatim-environments "NewCodeListing")
))

This will alter the variable globally, so it will affect all files
opened during the session.  And the respective environments will only be
fontified correctly the second time you open the file.


OK.  I see what you mean.  Is there a better way of accomplishing this
without having to set these variables globally (via customize, etc).  I
really *do* want them to apply to only certain files (in this case only
one document).  These values have no meaning outside this document.


Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]