branch: externals/auctex commit 074af823b179727d9023297cbaef9fd22c6b1255 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Add docs for LaTeX-fill-excluded-macros * doc/auctex.texi (Filling): Document LaTeX-fill-excluded-macros. --- ChangeLog | 2 ++ doc/auctex.texi | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index de66ef6..b9e1a84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-03-03 Tassilo Horn <t...@gnu.org> + * doc/auctex.texi (Filling): Document LaTeX-fill-excluded-macros. + * latex.el (LaTeX-fill-excluded-macros): New defcustom for excluding macro arguments from filling. (LaTeX-fill-region-as-paragraph): Use it. diff --git a/doc/auctex.texi b/doc/auctex.texi index 8fb997c..3f4ba91 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -1741,6 +1741,26 @@ be inserted before the last non-comment word to minimize the chance that the line becomes overfull. @end defopt +@defopt LaTeX-fill-excluded-macros +A list of macro names (without leading backslash) for whose arguments +filling should be disabled. Typically, you will want to add macros here +which have long, multi-line arguments. An example is +@code{\pgfplotstabletypeset} from the pgfplotstable package which is +used as shown in the following listing: + +@verbatim +\pgfplotstabletypeset[skip first n=4]{% + XYZ Format, + Version 1.234 + Date 2010-09-01 + @author Mustermann + A B C + 1 2 3 + 4 5 6 +} +@end verbatim +@end defopt + @node Display @chapter Controlling Screen Display