auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex eb4e331bd6 51/60: Add news for ne


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex eb4e331bd6 51/60: Add news for new indent feature
Date: Fri, 8 Apr 2022 11:52:55 -0400 (EDT)

branch: externals/auctex
commit eb4e331bd618d6721df79c84a85ad1020b6a28d3
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    Add news for new indent feature
    
    * doc/changes.texi: Add news for new indent feature.
    * doc/auctex.texi (Indenting): Add minor note.
---
 doc/auctex.texi  | 4 ++++
 doc/changes.texi | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/doc/auctex.texi b/doc/auctex.texi
index ed846cd3b7..ca23668d1b 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -1764,6 +1764,10 @@ workarounds are available:
 \end@{equation@}
 @end example
 
+You can include parens @samp{()} also in @code{TeX-indent-open-delimiters}
+and @code{TeX-indent-close-delimiters} to enable indent inside them.  Be
+prepared for similar side effects when you do.
+
 Note that commented curly braces @code{@{} and @code{@}} aren't counted
 when @AUCTeX{} computes indentation.
 
diff --git a/doc/changes.texi b/doc/changes.texi
index f59bfef222..12acd0c247 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -38,6 +38,14 @@ Indenting of conditionals is improved.  Code inside 
constructs like
 files is also introduced which can add their macros to the indentation
 engine.  Check the file @file{algpseudocode.el} for an example.
 
+@item
+You can optionally enable indent inside square brackets @samp{[]} by new
+user options @code{TeX-indent-open-delimiters} and
+@code{TeX-indent-close-delimiters}.
+@ifclear rawfile
+@xref{Indenting}.
+@end ifclear
+
 @item
 Now @file{tex-buf.el} is merged into @file{tex.el} and no longer exists.
 If your personal code has @code{(require 'tex-buf)}, one of the following




reply via email to

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