From: kaoru Date: Thu, 14 Feb 2008 14:57:10 +0000 (+0000) Subject: Use `string-to-number' instead of `string-to-int'. X-Git-Tag: wl-2_15_6-fixes~55 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=bcb61b86a9b994d2a6f320248f05f274a60160d1;p=elisp%2Fwanderlust.git Use `string-to-number' instead of `string-to-int'. --- diff --git a/utils/ChangeLog b/utils/ChangeLog index 6423b88..f667ce2 100644 --- a/utils/ChangeLog +++ b/utils/ChangeLog @@ -1,3 +1,7 @@ +2008-02-14 TAKAHASHI Kaoru + + * wl-mailto.el: Use `string-to-number' instead of `string-to-int'. + 2008-02-11 TAKAHASHI Kaoru * wl-addrbook.el (wl-addrbook-hashtb): Use quote instead of diff --git a/utils/wl-mailto.el b/utils/wl-mailto.el index c653102..ab95f85 100644 --- a/utils/wl-mailto.el +++ b/utils/wl-mailto.el @@ -90,7 +90,7 @@ ;; yucky compatibility stuff -- someone help me w/ this, please... (if (and (string-match "^XEmacs \\([0-9.]+\\)" (emacs-version)) - (< (string-to-int (match-string 1 (emacs-version))) 21)) + (< (string-to-number (match-string 1 (emacs-version))) 21)) ;; for xemacs versions less than 21, use browse-url.el (progn (require 'browse-url)