* mml-sec.el (mml-secure-message): Search after
[gnus] / lisp / mml-sec.el
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")