Convert line-endings before verify.
authorueno <ueno>
Fri, 21 Apr 2006 08:33:11 +0000 (08:33 +0000)
committerueno <ueno>
Fri, 21 Apr 2006 08:33:11 +0000 (08:33 +0000)
mime-pgp.el

index 2373b61..056e5e9 100644 (file)
                         (if (fboundp 'set-buffer-multibyte)
                             (set-buffer-multibyte nil))
                         (mime-insert-entity orig-entity)
+                        (goto-char (point-min))
+                        (while (search-forward "\n" nil t)
+                          (replace-match "\r\n"))
                         (buffer-substring)))
     (message "%s"
             (epg-verify-result-to-string