monnier pushed a commit to branch externals/auctex
in repository elpa.

commit e8be5ac73ebc68cab6b914c88558c59217a9f261
Author: Tassilo Horn <[email protected]>
Date:   Mon Mar 10 13:43:47 2014 +0100

    Improve defaults for filling.
    
    * latex.el (LaTeX-fill-break-at-separators): Default to opening
    and closing math switches.
---
 ChangeLog |    5 +++++
 latex.el  |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4925178..9809535 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-10  Tassilo Horn  <[email protected]>
+
+       * latex.el (LaTeX-fill-break-at-separators): Default to opening
+       and closing math switches.
+
 2014-03-06  Mos� Giordano  <[email protected]>
 
        * doc/auctex.texi (Processor Options): Add missing pair of braces.
diff --git a/latex.el b/latex.el
index af8dd27..4c48ef6 100644
--- a/latex.el
+++ b/latex.el
@@ -3142,7 +3142,7 @@ recognized."
 
 ;;; Filling
 
-(defcustom LaTeX-fill-break-at-separators nil
+(defcustom LaTeX-fill-break-at-separators (\\\( \\\) \\\[ \\\])
   "List of separators before or after which respectively a line
 break will be inserted if they do not fit into one line."
   :group 'LaTeX

Reply via email to