From 36999cb3f2d36b4bedaa1f9e5cb4681fff431f36 Mon Sep 17 00:00:00 2001 From: stephen Date: Fri, 6 Jan 2006 17:37:45 +0000 Subject: [PATCH] (ess-parse-errors): Change string-to-int (obsolete) to string-to-number. git-svn-id: https://svn.r-project.org/ESS/trunk@3478 0bbaf3bd-34e0-0310-bf65-c717079852d4 --- lisp/ess-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ess-mode.el b/lisp/ess-mode.el index 569655d3..ebdcabec 100644 --- a/lisp/ess-mode.el +++ b/lisp/ess-mode.el @@ -661,7 +661,9 @@ With prefix argument, only shows the errors ESS reported." t) (let* ((filename (buffer-substring (match-beginning 3) (match-end 3))) (fbuffer (get-file-buffer filename)) - (linenum (string-to-int (buffer-substring (match-beginning 2) (match-end 2)))) + (linenum + (string-to-number + (buffer-substring (match-beginning 2) (match-end 2)))) (errmess (buffer-substring (match-beginning 1) (match-end 1)))) (if showerr (ess-display-temp-buffer errbuff) -- 2.11.4.GIT