+2003-06-20 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * message.el (sender, from): No need to bind them.
+
+2003-06-19 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * spam.el (spam-enter-list): search-forward specified wrong
+
2003-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-art.el: Comment fix.
,@(and distribution (list (cons 'Distribution distribution))))
cur)))
-(eval-when-compile
- ;; Must be dynamically bound for message-is-yours-p.
- (defvar sender)
- (defvar from))
-
(defun message-is-yours-p ()
"Non-nil means current article is yours.
If you have added 'cancel-messages to 'message-shoot-gnksa-feet', all articles
(save-excursion
(set-buffer
(find-file-noselect file))
- (unless (search-forward (regexp-quote address))
+ (goto-char (point-min))
+ (unless (re-search-forward (regexp-quote address) nil t)
(goto-char (point-max))
(unless (bobp)
(insert "\n"))