branch: elpa
commit d9f61d553ba96bbe0ec194b314d542121a1e60cd
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>

    Capture message of LaTeX warnings
    
    * tex-buf.el (TeX-parse-error): Capture message of LaTeX warnings.
---
 tex-buf.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tex-buf.el b/tex-buf.el
index 2859b40..aced105 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -2270,7 +2270,7 @@ Return non-nil if an error or warning is found."
          "^\\(\\(?:Overfull\\|Underfull\\|Tight\\|Loose\\)\
  \\\\.*?[0-9]+--[0-9]+\\)\\|"
          ;; LaTeX warning
-         "^\\(LaTeX [A-Za-z]*\\|Package [A-Za-z0-9]+ \\)Warning:.*"))
+         "^\\(\\(?:LaTeX [A-Za-z]*\\|Package [A-Za-z0-9]+ \\)Warning:.*\\)"))
        (error-found nil))
     (while
        (cond

Reply via email to