Protect from infinite loop.
+2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
+ Protect from infinite loop.
+
2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elsp-bogofilter.el
(elsp-bogofilter-register-buffer buffer nil restore))
(defsubst elmo-spam-bogofilter-register-messages (folder numbers spam restore)
+ (if (not (< 0 elmo-spam-bogofilter-max-messages-per-process))
+ (error "non-positive value for `elmo-spam-bogofilter-max-messages-per-process'"))
(with-temp-buffer
(buffer-disable-undo (current-buffer))
(while numbers