* elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
authorhmurata <hmurata>
Tue, 7 Nov 2006 14:18:53 +0000 (14:18 +0000)
committerhmurata <hmurata>
Tue, 7 Nov 2006 14:18:53 +0000 (14:18 +0000)
commit1205de9ab5cdf9d8305bcfa5e0ae85afe36c0a65
tree9333bb0874e85b82cd48e1a71fcf5ed44aa97695
parent2aa501d77b32e5edad2c4587e4affb960b0bf9b1
* elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
`elmo-progress-counter' as t when a query callback returns nil.
(elmo-progress-clear): New function.
(elmo-progress-done): Split into `elmo-progress-clear'.
(elmo-progress-notify): Update a total slot when it is nil.
(elmo-with-progress-display): Call `elmo-progress-clear' in
unwind-protect and move calling `elmo-progress-done' to outside.

* elmo-imap4.el (elmo-imap4-find-next-line): Call
`elmo-progress-notify' with :total parameter instead of
`elmo-progress-counter-set-total'.
elmo/ChangeLog
elmo/elmo-imap4.el
elmo/elmo-util.el