[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa ce347e6 03/35: Document how to disable filling for specific
From: |
Tassilo Horn |
Subject: |
[elpa] elpa ce347e6 03/35: Document how to disable filling for specific environments |
Date: |
Thu, 1 Sep 2016 15:57:48 +0000 (UTC) |
branch: elpa
commit ce347e6f4763a530d0a86c9f233361486914bbf1
Author: Uwe Brauer <address@hidden>
Commit: Mosè Giordano <address@hidden>
Document how to disable filling for specific environments
* latex.el (LaTeX-indent-environment-list): Mention in docstring that
environments listed here are not filled.
(LaTeX-fill-region-as-paragraph): Add information to the docstring
concerning excluding enviroments from that function by using
`LaTeX-indent-environment-list'. Suggested by Uwe Brauer.
---
latex.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/latex.el b/latex.el
index 16d6760..babcd1a 100644
--- a/latex.el
+++ b/latex.el
@@ -2995,7 +2995,10 @@ consideration just as is in the non-commented source
code."
("tabbing"))
"Alist of environments with special indentation.
The second element in each entry is the function to calculate the
-indentation level in columns."
+indentation level in columns.
+
+Environments present in this list are not filled by filling
+functions, see `LaTeX-fill-region-as-paragraph'."
:group 'LaTeX-indentation
:type '(repeat (list (string :tag "Environment")
(option function))))
@@ -3457,7 +3460,11 @@ Break lines to fit `fill-column', but leave all lines
ending with
\\\\ \(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 disable filling inside a specific environment by adding
+it to `LaTeX-indent-environment-list', only indentation is
+performed in that case."
(interactive "*r\nP")
(let ((end-marker (save-excursion (goto-char to) (point-marker))))
(if (or (assoc (LaTeX-current-environment) LaTeX-indent-environment-list)
- [elpa] elpa 5745c81 02/35: Fix compatibility with GNU Emacs < 24, (continued)
- [elpa] elpa 5745c81 02/35: Fix compatibility with GNU Emacs < 24, Tassilo Horn, 2016/09/01
- [elpa] elpa c1a2b33 10/35: ; Add missing space in prompt, Tassilo Horn, 2016/09/01
- [elpa] elpa 7f91fb9 06/35: More about TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 97c992d 09/35: Catch up with deletion of \commondummies in texinfo.tex, Tassilo Horn, 2016/09/01
- [elpa] elpa 4f15be6 15/35: ; Remove wrong entries for varioref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa 7828a43 16/35: ; Remove wrong entries for cleveref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa bb9f427 01/35: Grab focus on Evince inverse search, Tassilo Horn, 2016/09/01
- [elpa] elpa dfe0937 12/35: Reset `LaTeX-auto-xcolor-definecolorset' before parsing, Tassilo Horn, 2016/09/01
- [elpa] elpa 8c57d38 11/35: Fix doc string for curve quoting style in Emacs 25, Tassilo Horn, 2016/09/01
- [elpa] elpa e259e40 26/35: Add a Japanese error message translation, Tassilo Horn, 2016/09/01
- [elpa] elpa ce347e6 03/35: Document how to disable filling for specific environments,
Tassilo Horn <=
- [elpa] elpa b2ebbb3 29/35: Use `TeX-ispell-skip-setcdr' on user defined listing environments, Tassilo Horn, 2016/09/01
- [elpa] elpa 22f9450 30/35: Use `TeX-ispell-skip-setcar' on user defined index macros, Tassilo Horn, 2016/09/01
- [elpa] elpa 131c537 14/35: Document interaction with Ispell, Tassilo Horn, 2016/09/01
- [elpa] elpa ba10cf0 04/35: New defcustom TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 40b3518 13/35: Add new spell checking dictionary tex-ispell.el, Tassilo Horn, 2016/09/01
- [elpa] elpa d0e8c1c 32/35: Add new style/paracol.el, Tassilo Horn, 2016/09/01
- [elpa] elpa fcb6424 27/35: Revise document for Japanese TeX, Tassilo Horn, 2016/09/01
- [elpa] elpa 12bfe80 33/35: Add new style/menukeys.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 803894c 19/35: Add new style/empheq.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 073b17a 23/35: Update style/mathtools.el to v1.18 of mathtools.sty, Tassilo Horn, 2016/09/01