2016-12-16 15:17 GMT+01:00 Denis Bitouzé <dbito...@wanadoo.fr>:
> But what's the point with `\\|foo'? AFAICS:
>
>   ┌────
>   │ (setq LaTeX-document-regexp "myenv")
>   └────
>
> does the trick as well.

    \(a\|b\)

matches "a" or "b" (but in the variable you don't need to put the
outer parentheses, and you have to double escape the backslash), you
have to include both "document" and "myenv" in order to indent both in
the same way.  With your setting I'm not sure the "document"
environment will be indented correctly.

Bye,
Mosè

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

Reply via email to