* modb-standard.el (modb-standard-cleanup-stale-entities): Use `string-to-number...
authorkaoru <kaoru>
Fri, 1 Jan 2010 08:15:27 +0000 (08:15 +0000)
committerkaoru <kaoru>
Fri, 1 Jan 2010 08:15:27 +0000 (08:15 +0000)
elmo/ChangeLog
elmo/modb-standard.el

index c2665b7..316fee4 100644 (file)
@@ -1,5 +1,8 @@
 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
+       * modb-standard.el (modb-standard-cleanup-stale-entities): Use
+       `string-to-number' instead of `string-to-int'.
+
        * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
        instead of `save-excursion' (for suppress compile warnings).
        * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
index dc413c8..f710dd3 100644 (file)
                     (modb-standard-number-list-internal modb))))
         (files (mapcar #'(lambda(x)
                            (when (string-match entity-regex x)
-                             (string-to-int (match-string 1 x))))
+                             (string-to-number (match-string 1 x))))
                        (directory-files path nil entity-regex))))
     (dolist (entity (car (elmo-list-diff-nonsortable files entities)))
       (ignore-errors (delete-file