From 5e636663f7bc2e6e2fec5acc1b2952d5bbe9742f Mon Sep 17 00:00:00 2001 From: stephen Date: Thu, 7 Dec 2006 12:13:34 +0000 Subject: [PATCH] string-to-int is deprecated; use string-to-number. git-svn-id: https://svn.r-project.org/ESS/trunk@3679 0bbaf3bd-34e0-0310-bf65-c717079852d4 --- lisp/essl-bugs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/essl-bugs.el b/lisp/essl-bugs.el index a778895b..bbac2758 100644 --- a/lisp/essl-bugs.el +++ b/lisp/essl-bugs.el @@ -183,7 +183,8 @@ and `ess-bugs-file-dir'." (ess-bugs-replacement-9 0) (ess-bugs-replacement-diff 0)) (while (search-forward-regexp "-?[0-9][.][0-9][0-9][0-9]E[+-][0-9]" nil t) - (setq ess-bugs-replacement-string (int-to-string (string-to-int (match-string 0)))) + (setq ess-bugs-replacement-string + (int-to-string (string-to-number (match-string 0)))) (setq ess-bugs-replacement-diff (- (match-end 0) (match-beginning 0))) (save-match-data (setq ess-bugs-replacement-9 -- 2.11.4.GIT