CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    08/05/25 06:50:33

Index: tex-buf.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex-buf.el,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -b -r1.273 -r1.274
--- tex-buf.el  22 May 2008 19:32:18 -0000      1.273
+++ tex-buf.el  25 May 2008 06:50:31 -0000      1.274
@@ -1474,7 +1474,7 @@
         ;; Hook to change line numbers
         ((match-beginning 5)
          (setq TeX-error-offset
-               (list (string-to-int (TeX-match-buffer 5))))
+               (list (string-to-number (TeX-match-buffer 5))))
          t)
         
         ;; Hook to change file name
@@ -1496,7 +1496,7 @@
 
         ;; And the line number to position the cursor.
         (line (if (re-search-forward "l\\.\\([0-9]+\\)" nil t)
-                  (string-to-int (TeX-match-buffer 1))
+                  (string-to-number (TeX-match-buffer 1))
                 1))
         ;; And a string of the context to search for.
         (string (progn
@@ -1561,8 +1561,8 @@
 
         ;; Get error-line (warning)
         (line (when (re-search-backward line-string nil t)
-                (string-to-int (TeX-match-buffer 1))))
-        (line-end (if bad-box (string-to-int (TeX-match-buffer 2))
+                (string-to-number (TeX-match-buffer 1))))
+        (line-end (if bad-box (string-to-number (TeX-match-buffer 2))
                     line))
 
         ;; Find the context


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

Reply via email to