# HG changeset patch # User Uwe Brauer # Date 1465047422 0 # Sat Jun 04 13:37:02 2016 +0000 # Node ID 7d5d45540a7901ce77a47b3b704fc0eaf8e89fd0 # Parent 6e912fc14c02d6f9cf0c7000274451327066f9b7 * latex.el (LaTeX-fill-region-as-paragraph): Add information to the docstring concerning excluding enviroments from that function by using `LaTeX-indent-environment-list' diff -r 6e912fc14c02 -r 7d5d45540a79 latex.el --- a/latex.el Tue May 31 12:30:11 2016 +0200 +++ b/latex.el Sat Jun 04 13:37:02 2016 +0000 @@ -3457,7 +3457,11 @@ \\\\ \(plus its optional argument) alone. Lines with code comments and lines ending with `\par' are included in filling but act as boundaries. Prefix arg means justify too. From program, -pass args FROM, TO and JUSTIFY-FLAG." +pass args FROM, TO and JUSTIFY-FLAG. +You can however exclude environments by setting the variable +`LaTeX-indent-environment-list', using `add-to-list' to the value +`current-indentation'. For example `verbatim' is included in this +manner from `LaTeX-fill-region-as-paragraph'." (interactive "*r\nP") (let ((end-marker (save-excursion (goto-char to) (point-marker)))) (if (or (assoc (LaTeX-current-environment) LaTeX-indent-environment-list)