auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style


From: Arash Esbati
Subject: Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style
Date: Mon, 28 Sep 2015 20:29:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5

Hi Mosè,

Mosè Giordano <address@hidden> writes:

> 2015-09-28 8:40 GMT+02:00 Tassilo Horn <address@hidden>:
>> Mosè Giordano <address@hidden> writes:
>>
>>> `pushnew' can't append to variables, but my understanding is that it's
>>> safer than `add-to-list' when it comes to let-bound variables (can
>>> someone please confirm this?),
>>
>> Yes, `add-to-list' should not be used on locals:
>
> Ok, thanks for the confirmation.  I've just applied Arash's patches
> and fixed that by myself.

Thanks for looking at this, installing and updating the style.  There is
still one `pushnew' in the code, line 118:

--8<---------------cut here---------------start------------->8---
    ((string-equal type "verbatim")
     (LaTeX-add-environments flt)
     (make-local-variable 'LaTeX-indent-environment-list)
     (pushnew `(,flt current-indentation)
               LaTeX-indent-environment-list :test #'equal)
     ...
--8<---------------cut here---------------end--------------->8---

Is this on purpose?  `LaTeX-indent-environment-list' can be customized
as well.

Best, Arash




reply via email to

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