branch: externals/auctex commit bf5f55b5f333fb1dfc39b4f02ae005dae06b7721 Author: Mosè Giordano <m...@gnu.org> Commit: Mosè Giordano <m...@gnu.org>
Document indentation of "\[...\]". * doc/auctex.texi (Indenting): Document indentation of "\[...\]". * doc/changes.texi: Mention it. --- ChangeLog | 6 ++++++ doc/auctex.texi | 5 +++++ doc/changes.texi | 3 +++ 3 files changed, 14 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d4d5e0..21d6ce2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-04-02 Mos� Giordano <m...@gnu.org> + + * doc/auctex.texi (Indenting): Document indentation of "\[...\]". + + * doc/changes.texi: Mention it. + 2015-03-30 Mos� Giordano <m...@gnu.org> * latex.el (LaTeX-begin-regexp): Add "\[". diff --git a/doc/auctex.texi b/doc/auctex.texi index 6fb6d71..6307637 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -1590,6 +1590,11 @@ function additionally indents the current line. If you choose @key{RET} is pressed. @end defopt +@AUCTeX{} treats by default @samp{\[...\]} math mode as a regular +environment and indents it accordingly. If you do not like such +behavior you only need to remove @code{\|\[} and @code{\|\]} from +@code{LaTeX-begin-regexp} and @code{LaTeX-end-regexp} variables +respectively. @node Filling @section Filling diff --git a/doc/changes.texi b/doc/changes.texi index 5483c84..1dd552d 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -29,6 +29,9 @@ New option @code{TeX-file-line-error} allows to select file:line:error style for error messages. @item +Indent @samp{\[...\]} math mode as a regular environment by default. + +@item @code{TeX-view-program-list} can contain, as third optional element of each item, the name of the executable(s) needed to open the viewer. @end itemize