branch: externals/auctex-cont-latexmk
commit c3ff2df04731783b831c42285d7b3e95d1fdd7d7
Author: Paul Nelson <ultr...@gmail.com>
Commit: Paul Nelson <ultr...@gmail.com>

    restrict errors to those associated to some file
---
 czm-tex-compile.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/czm-tex-compile.el b/czm-tex-compile.el
index bb665b91b2..62d1fabe83 100644
--- a/czm-tex-compile.el
+++ b/czm-tex-compile.el
@@ -112,8 +112,10 @@ Used for navigating LaTeX warnings in the log file."
                                 TeX-error-list))
              (filtered (seq-filter
                         (lambda (item)
-                          (equal (expand-file-name (nth 1 item))
-                                 (expand-file-name tex-file)))
+                          (and
+                           (stringp (nth 1 item))
+                           (equal (expand-file-name (nth 1 item))
+                                  (expand-file-name tex-file))))
                         error-list))
              (stuff (mapcar
                      (lambda (item)

Reply via email to