From bcb61b86a9b994d2a6f320248f05f274a60160d1 Mon Sep 17 00:00:00 2001 From: kaoru Date: Thu, 14 Feb 2008 14:57:10 +0000 Subject: [PATCH] Use `string-to-number' instead of `string-to-int'. --- utils/ChangeLog | 4 ++++ utils/wl-mailto.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 1.7.10.4