From: yamaoka Date: Thu, 28 Mar 2002 22:13:49 +0000 (+0000) Subject: Synch with Oort Gnus. X-Git-Tag: t-gnus-6_15_6-02-quimby~19 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be675602a469732aab9515137002ec2625cb7f8;p=elisp%2Fgnus.git- Synch with Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8781da7..dc3d5e3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-03-28 Simon Josefsson + + * mml-sec.el (mml-secure-message): Search after + mail-header-separator from top of message. + 2002-03-28 Paul Jarc * nnmaildir.el: Cosmetic changes. diff --git a/lisp/mml-sec.el b/lisp/mml-sec.el index a26ed91..a347cc3 100644 --- a/lisp/mml-sec.el +++ b/lisp/mml-sec.el @@ -133,8 +133,8 @@ insert-loc) (mml-unsecure-message) (save-excursion - (goto-char (point-max)) - (cond ((re-search-backward + (goto-char (point-min)) + (cond ((re-search-forward (concat "^" (regexp-quote mail-header-separator) "\n") nil t) (goto-char (setq insert-loc (match-end 0))) (unless (looking-at "<#secure")