emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex-cont-latexmk 61cf12f244 032/100: for errors, ju


From: ELPA Syncer
Subject: [elpa] externals/auctex-cont-latexmk 61cf12f244 032/100: for errors, just get line number directly
Date: Thu, 6 Jun 2024 03:57:53 -0400 (EDT)

branch: externals/auctex-cont-latexmk
commit 61cf12f244693e6688331369c96e534a90454262
Author: Paul Nelson <ultrono@gmail.com>
Commit: Paul Nelson <ultrono@gmail.com>

    for errors, just get line number directly
---
 czm-tex-compile.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/czm-tex-compile.el b/czm-tex-compile.el
index a58ab1eab3..31aa39f14b 100644
--- a/czm-tex-compile.el
+++ b/czm-tex-compile.el
@@ -134,9 +134,8 @@ Used for navigating LaTeX warnings in the log file."
                              (with-temp-buffer
                                (insert (nth 5 item))
                                (goto-char (point-min))
-                               (when (re-search-forward "^\nl\\.\\([0-9]+\\) " 
nil t)
-                                 (setq line (when (match-string 1)
-                                              (string-to-number (match-string 
1))))
+                               (setq line (nth 2 item))
+                               (when (re-search-forward "\nl\\.\\([0-9]+\\) " 
nil t)
                                               (setq prefix 
(buffer-substring-no-properties (point)
                                                                               
(line-end-position)))))
                                  (when (string-match "input line \\([0-9]+\\)" 
description)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]