From: kaoru Date: Fri, 15 Feb 2008 01:17:37 +0000 (+0000) Subject: Use `string-to-number' instead of `string-to-int'. X-Git-Tag: wl-2_15_6-fixes~52 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6e6538e72bdd4d598d7715d4ceb68c449621421d;p=elisp%2Fwanderlust.git Use `string-to-number' instead of `string-to-int'. --- diff --git a/ChangeLog b/ChangeLog index 917646a..cde1174 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-15 TAKAHASHI Kaoru + + * WL-MK (wl-news-parse-news-subr): Use `string-to-number' instead + of `string-to-int'. + 2008-02-11 TAKAHASHI Kaoru * WL-MK: New backquote style. diff --git a/WL-MK b/WL-MK index 080e784..89d7af2 100644 --- a/WL-MK +++ b/WL-MK @@ -524,7 +524,7 @@ (version-tmp (split-string (match-string 1) "\\.")) version news-string end) (while version-tmp - (setq version (append version (list (string-to-int (car version-tmp))))) + (setq version (append version (list (string-to-number (car version-tmp))))) (setq version-tmp (cdr version-tmp))) (re-search-forward "^\\(\\* \\| \\)" nil t) (goto-char (- (match-beginning 0) 1))