error in arguments to base64-decode-region. Remove ^M characters
after decoding base64.
+2003-12-30 Eli Zaretskii <eliz@elta.co.il>
+
+ * mail/rmail.el (rmail-convert-to-babyl-format): Fix off-by-one
+ error in arguments to base64-decode-region. Remove ^M characters
+ after decoding base64.
+
2003-12-30 Simon Josefsson <jas@extundo.com>
* textmodes/texinfo.el: Change maintainer to FSF. Suggested by
(when
(condition-case nil
(progn
- (base64-decode-region header-end (point))
+ (base64-decode-region (1+ header-end) (point))
t)
(error nil))
+ (goto-char header-end)
+ (while (search-forward "\r\n" (point-max) t)
+ (replace-match "\n"))
;; Change "base64" to "8bit", to reflect the
;; decoding we just did.
(goto-char base64-header-field-end)