[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] LaTeX-env-document
From: |
Mads Jensen |
Subject: |
Re: [AUCTeX-devel] LaTeX-env-document |
Date: |
Thu, 10 Jan 2013 09:39:33 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 2013-01-02 13:27, Tassilo Horn wrote:
>> I have one more suggestion for `LaTeX-env-document': prevent
>> documentclass from being inserted, if there's already one present in the
>> file. At least I find it somewhat annoying to be prompted for it.
>
> That's a better idea than omitting the document environment as you've
> suggested in your other mail.
I would appreciate if someone could have a look at this patch. Thank you.
I was asked to provide a ChangeLog entry:
2013-01-10 Mads Jensen <address@hidden>
* latex.el (LaTeX-env-document): Only insert \documentclass in
case the document does not already contain one.
--
Med Venlig Hilsen / Kind Regards,
Mads Jensen
Rubinsteinsvej 31,st.th
DK-2450 Kbh. SV
Denmark
+45 6168 8518
My brain is my second favorite organ.
-- Woody Allen
latex.el.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature