diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 11:47:45 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 11:47:45 +0000 |
commit | 9bc3f266832ec50c30802f60e4af5ef88aeadc69 (patch) | |
tree | e66da819d249c050d39ea219e724cd15a11aef52 /mmm | |
parent | 95e2a29f51fb86ee958a261ac195d7e8c96d1741 (diff) |
Emacs compatibility/API updates: string-to-int -> string-to-number
Diffstat (limited to 'mmm')
-rw-r--r-- | mmm/mmm-utils.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |