Synch with Oort Gnus.
authoryamaoka <yamaoka>
Thu, 28 Mar 2002 22:13:49 +0000 (22:13 +0000)
committeryamaoka <yamaoka>
Thu, 28 Mar 2002 22:13:49 +0000 (22:13 +0000)
lisp/ChangeLog
lisp/mml-sec.el

index 8781da7..dc3d5e3 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-28  Simon Josefsson  <jas@extundo.com>
+
+       * mml-sec.el (mml-secure-message): Search after
+       mail-header-separator from top of message.
+
 2002-03-28  Paul Jarc <prj@po.cwru.edu>
 
        * nnmaildir.el: Cosmetic changes.
index a26ed91..a347cc3 100644 (file)
        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")