buffer-disable-undo, it is unnecessary.
(elmo-spam-register-good-messages): Ditto.
* elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
Ditto.
* elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
+2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-spam.el (elmo-spam-register-good-messages): Don't call
+ buffer-disable-undo, it is unnecessary.
+ (elmo-spam-register-good-messages): Ditto.
+
+ * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
+ Ditto.
+
+ * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
+
2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-util.el (elmo-set-buffer-multibyte): Abolish.
numbers restore)
(let ((numbers (or numbers (elmo-folder-list-messages folder t t))))
(with-temp-buffer
- (buffer-disable-undo (current-buffer))
(dolist (number numbers)
(erase-buffer)
(elmo-spam-message-fetch folder number)
numbers restore)
(let ((numbers (or numbers (elmo-folder-list-messages folder t t))))
(with-temp-buffer
- (buffer-disable-undo (current-buffer))
(dolist (number numbers)
(erase-buffer)
(elmo-spam-message-fetch folder number)
(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'"))
+ (error "\
+non-positive value for `elmo-spam-bogofilter-max-messages-per-process'"))
(with-temp-buffer
- (buffer-disable-undo (current-buffer))
(while numbers
(let ((count 0))
(while (and numbers
(error
"non-positive value for `elmo-spam-spamassassin-max-messages-per-process'"))
(with-temp-buffer
- (buffer-disable-undo (current-buffer))
(while numbers
(let ((count 0))
(while (and numbers