+2003-02-20 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/gnus-offline.el (gnus-offline-add-custom-header): Use
+ insert instead of insert-string which is obsolete in Emacs 21.4
+ (synch to the change of Jesper Harder at 2003-02-20).
+
2003-02-19 Reiner Steib <Reiner.Steib@gmx.de>
* GNUS-NEWS: Renamed `gnus-unsightly-citation-regexp' to
2003-02-20 Jesper Harder <harder@ifa.au.dk>
+ * gnus-spec.el (gnus-xmas-format): Use insert instead of
+ insert-string which is obsolete in Emacs 21.4.
+
+ * message.el (message-cross-post-followup-to-header): do.
+
+ * spam.el (spam-ifile-register-with-ifile)
+ (spam-stat-register-spam-routine)
+ (spam-stat-register-ham-routine)
+ (spam-bogofilter-register-with-bogofilter): do.
+
* mailcap.el (mailcap-mime-data): Fix typo.
* gnus-topic.el (gnus-topic-make-menu-bar): Add ellipsis.
(setq hdr (concat header " "))
(setq str (concat hdr string))
(setq hdr (concat str "\n"))
- (insert-string hdr))))
+ (insert hdr))))
;;
;; Add X-Offline-Backend header.
;;
(let ((re "%%\\|%\\(-\\)?\\([1-9][0-9]*\\)?s")
(n (length args)))
(with-temp-buffer
- (insert-string fstring)
+ (insert fstring)
(goto-char (point-min))
(while (re-search-forward re nil t)
(goto-char (match-end 0))
(not (string-match (regexp-quote target-group)
(message-fetch-field "Newsgroups"))))
(end-of-line)
- (insert-string (concat "," target-group))))
+ (insert (concat "," target-group))))
(end-of-line) ; ensure Followup: comes after Newsgroups:
;; unless new followup would be identical to Newsgroups line
;; make a new Followup-To line
(let ((category (or category gnus-newsgroup-name))
(db-param (spam-get-ifile-database-parameter)))
(with-temp-buffer
- (insert-string article-string)
+ (insert article-string)
(if db-param
(call-process-region (point-min) (point-max) spam-ifile-path
nil nil nil
(lambda (article)
(let ((article-string (spam-get-article-as-string article)))
(with-temp-buffer
- (insert-string article-string)
+ (insert article-string)
(spam-stat-buffer-is-spam))))
nil)
(spam-stat-save))
(lambda (article)
(let ((article-string (spam-get-article-as-string article)))
(with-temp-buffer
- (insert-string article-string)
+ (insert article-string)
(spam-stat-buffer-is-non-spam)))))
(spam-stat-save)))
(when (stringp article-string)
(let ((switch (if spam "-s" "-n")))
(with-temp-buffer
- (insert-string article-string)
+ (insert article-string)
(if spam-bogofilter-database-directory
(call-process-region (point-min) (point-max)
spam-bogofilter-path