(mime-store-message/partial-piece): Don't move to point-min.
[elisp/semi.git] / mime-edit.el
index a5be4fe..57c1de9 100644 (file)
@@ -2679,7 +2679,7 @@ Content-Type: message/partial; id=%s; number=%d; total=%d\n%s\n"
           "^Content-Transfer-Encoding:" limit t)
          (let ((beg (match-beginning 0))
                (hbeg (match-end 0))
-               (end (std11-field-end)))
+               (end (std11-field-end limit)))
            (setq encoding
                  (downcase
                   (eliminate-top-spaces