Hi Mosè,

Mosè Giordano <m...@gnu.org> writes:

> 2015-09-28 8:40 GMT+02:00 Tassilo Horn <t...@gnu.org>:
>> Mosè Giordano <m...@gnu.org> 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


_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to