instead of `number-to-string'.
* wl-dnd.el (wl-dnd-start-drag): Ditto.
* wl-score.el (wl-score-insert-help, wl-summary-increase-score): Ditto.
* wl-summary.el (wl-summary-jump-to-msg, wl-summary-save): Ditto.
* wl-util.el (wl-url-nntp): Ditto.
2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * wl.el (wl-plugged-sending-queue-status): Use `int-to-string'
+ instead of `number-to-string'.
+ * wl-dnd.el (wl-dnd-start-drag): Ditto.
+ * wl-score.el (wl-score-insert-help, wl-summary-increase-score): Ditto.
+ * wl-summary.el (wl-summary-jump-to-msg, wl-summary-save): Ditto.
+ * wl-util.el (wl-url-nntp): Ditto.
+
* wl.el (wl-plugged-set-variables, wl-plugged-dop-queue-info)
(wl-plugged-dop-queue-status): Don't quote `lambda'.
* wl-thread.el (wl-thread-delete-message): Ditto
(mouse-set-point event)
(start-drag event (concat
wl-summary-buffer-folder-name " "
- (int-to-string (wl-summary-message-number)))))
+ (number-to-string (wl-summary-message-number)))))
(defun wl-dnd-drop-func (event object text)
(interactive "@e")
(car entry)
(if increase "raise" "lower"))
(if (numberp match)
- (int-to-string match)
+ (number-to-string match)
match)))
;; transform from string to int.
(when (eq (nth 1 (assoc (car entry) wl-score-header-index))
(delete-char -1) ; the `\n' takes a char
(insert "\n"))
(setq pad (- width 3))
- (setq format (concat "%c: %-" (int-to-string pad) "s"))
+ (setq format (concat "%c: %-" (number-to-string pad) "s"))
(insert (format format (caar alist) (nth idx (car alist))))
(setq alist (cdr alist))
(setq i (1+ i)))
(when number
(let ((pos (point))
regexp)
- (setq regexp (concat "\r" (int-to-string number) "[^0-9]"))
+ (setq regexp (concat "\r" (number-to-string number) "[^0-9]"))
(if (and beg end (or (< pos beg) (< end pos)))
(progn
(goto-char beg)
(if num
(save-excursion
(setq filename (expand-file-name
- (concat (int-to-string num)
+ (concat (number-to-string num)
wl-summary-save-file-suffix)
wl-save-dir))
(when (or (null arg)
(setq fld-name nil))
(if (eq (length (setq port
(elmo-match-string 2 url))) 0)
- (setq port (int-to-string elmo-nntp-default-port)))
+ (setq port (number-to-string elmo-nntp-default-port)))
(if (eq (length (setq server
(elmo-match-string 1 url))) 0)
(setq server elmo-nntp-default-server))
(if (> len 1)
(format ": %d msgs (" len)
(format ": %d msg (" len))
- (mapconcat (function int-to-string) (cdr qinfo) ",")
+ (mapconcat (function number-to-string) (cdr qinfo) ",")
")")))
(defun wl-plugged-dop-queue-info ()