branch: externals/auctex commit 89263699459a6201c244d327d7dc4b606f9547d1 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Improve new-file regex. * tex-buf.el (TeX-parse-error): Improve new-file regex. --- tex-buf.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tex-buf.el b/tex-buf.el index 6a3e4ad..a6dbe65 100644 --- a/tex-buf.el +++ b/tex-buf.el @@ -1486,7 +1486,7 @@ You might want to examine and modify the free variables `file', ;; TeX error "^\\(!\\|\\(.*?\\):[0-9]+:\\) \\|" ;; New file - "(\n?\\([^())]+\\)\\|" + "(\n?\\([^\n())]+\\)\\|" ;; End of file. "\\()\\)\\|" ;; Hook to change line numbers