auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. ce347e6f4763a530d0a86


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. ce347e6f4763a530d0a86c9f233361486914bbf1
Date: Sat, 4 Jun 2016 14:07:49 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  ce347e6f4763a530d0a86c9f233361486914bbf1 (commit)
      from  5745c81b322984932bffa4265f757769af9fad97 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ce347e6f4763a530d0a86c9f233361486914bbf1
Author: Uwe Brauer <address@hidden>
Date:   Sat Jun 4 13:37:02 2016 +0000

    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.

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)

-----------------------------------------------------------------------

Summary of changes:
 latex.el |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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