and doc fix. Define as a list of regular expressions for
folders or nil.
* wl-folder.el (wl-folder-check-one-entity): Use
`wl-string-match-member' instead of `wl-string-member' for
`wl-strict-diff-folders'.
(defun wl-folder-check-one-entity (entity)
(let* ((elmo-use-server-diff (wl-folder-use-server-diff-p entity))
(nums (condition-case err
- (if (wl-string-member entity wl-strict-diff-folders)
+ (if (wl-string-match-member entity wl-strict-diff-folders)
(elmo-strict-folder-diff entity)
(elmo-folder-diff entity))
(error
:group 'wl-pref)
(defcustom wl-strict-diff-folders nil
- "Folders in this list are checked its unsync message number strictly."
- :type '(repeat (string :tag "Folder"))
+ "List of regexps matching folders of which Wanderlust seriously counts unsync messages."
+ :type '(choice (const :tag "Off" nil)
+ (repeat (regexp :tag "Folder Regexp")))
:group 'wl-folder)
(defcustom wl-folder-use-server-diff t