+2003-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * gnus-art.el: Comment fix.
+
+2003-06-20 Jesper Harder <harder@ifa.au.dk>
+
+ * gnus-msg.el (gnus-configure-posting-styles): Remove unused
+ variable. From Jan Rychter <jan@rychter.com>.
+
+ * spam.el (spam-spamoracle-learn): insert-string is obsolete.
+
+2003-06-19 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * spam.el (spam-enter-list): do not enter duplicate addresses into
+ the whitelist/blacklist
+
2003-06-19 Jesper Harder <harder@ifa.au.dk>
* nnheader.el (nnheader-init-server-buffer): Add
:type 'sexp
:group 'gnus-article-hiding)
-;; Fixme: This isn't the right thing for mixed graphical and and
+;; Fixme: This isn't the right thing for mixed graphical and
;; non-graphical frames in a session.
(defcustom gnus-article-x-face-command
(cond
(save-excursion
(set-buffer
(find-file-noselect file))
- (goto-char (point-max))
- (unless (bobp)
- (insert "\n"))
- (insert address "\n")
- (save-buffer)))
+ (unless (search-forward (regexp-quote address))
+ (goto-char (point-max))
+ (unless (bobp)
+ (insert "\n"))
+ (insert address "\n")
+ (save-buffer))))
;;; returns t if the sender is in the whitelist, nil or spam-split-group otherwise
(defun spam-check-whitelist ()
(let ((temp-buffer-name (buffer-name)))
(save-excursion
(goto-char (point-min))
- (insert-string (spam-get-article-as-string article))
+ (insert (spam-get-article-as-string article))
(let* ((arg (if article-is-spam-p "-spam" "-good"))
(status
(apply 'call-process-region