From: ueno Date: Fri, 21 Apr 2006 08:33:11 +0000 (+0000) Subject: Convert line-endings before verify. X-Git-Tag: emiko-1_14_1-epg-0_0_1~3 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7c3070757174abcf503a88d7ee84b5451cfa8e0;p=elisp%2Fsemi.git Convert line-endings before verify. --- diff --git a/mime-pgp.el b/mime-pgp.el index 2373b61..056e5e9 100644 --- a/mime-pgp.el +++ b/mime-pgp.el @@ -146,6 +146,9 @@ (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