CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    08/07/17 18:17:05

Index: latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/latex.el,v
retrieving revision 5.443
retrieving revision 5.444
diff -u -b -r5.443 -r5.444
--- latex.el    25 May 2008 12:32:03 -0000      5.443
+++ latex.el    17 Jul 2008 18:17:05 -0000      5.444
@@ -3425,8 +3425,10 @@
 
 (defun LaTeX-paragraph-commands-regexp-make ()
   "Return a regular expression matching defined paragraph commands."
-  (concat (regexp-quote TeX-esc)
-         (regexp-opt LaTeX-paragraph-commands-internal t)))
+  (concat (regexp-quote TeX-esc) "\\("
+         (when LaTeX-paragraph-commands
+           (concat LaTeX-paragraph-commands "\\|"))
+         (regexp-opt LaTeX-paragraph-commands-internal) "\\)"))
 
 (defvar LaTeX-paragraph-commands-regexp (LaTeX-paragraph-commands-regexp-make)
     "Regular expression matching LaTeX macros that should have their own 
line.")


_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to