From 9bc3f266832ec50c30802f60e4af5ef88aeadc69 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Mon, 10 Dec 2007 11:47:45 +0000 Subject: Emacs compatibility/API updates: string-to-int -> string-to-number --- mmm/mmm-utils.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mmm') diff --git a/mmm/mmm-utils.el b/mmm/mmm-utils.el index 3d0a3741..bca62ec2 100644 --- a/mmm/mmm-utils.el +++ b/mmm/mmm-utils.el @@ -93,7 +93,7 @@ ON-STRING, if supplied, means to use the match data from a subexp) (save-match-data (while (string-match "~\\([0-9]\\)" string) - (setq subexp (string-to-int (match-string-no-properties 1 string)) + (setq subexp (string-to-number (match-string-no-properties 1 string)) string (replace-match (save-match-data (set-match-data old-data) -- cgit v1.2.3