From bcbd823e0c193626dbe7da3be3ddb5d48ed2a5b7 Mon Sep 17 00:00:00 2001 From: yoichi Date: Wed, 11 Sep 2002 14:42:06 +0000 Subject: [PATCH] * wl-summary.el (wl-summary-save-view-cache): Avoid error on xemacs without mule (`mime-charset-to-coding-system' in mcs-ltn1 cannot take second argument). --- wl/ChangeLog | 6 ++++++ wl/wl-summary.el | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wl/ChangeLog b/wl/ChangeLog index 1a0d2bc..9e970a5 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,9 @@ +2002-09-11 Yoichi NAKAYAMA + + * wl-summary.el (wl-summary-save-view-cache): Avoid error on + xemacs without mule (`mime-charset-to-coding-system' in mcs-ltn1 + cannot take second argument). + 2002-09-05 Yoichi NAKAYAMA * wl-summary.el (wl-summary-line-attached): Bind case-fold-search diff --git a/wl/wl-summary.el b/wl/wl-summary.el index 08e384b..f71948d 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -4378,7 +4378,8 @@ If ARG, exit virtual folder." (wl-summary-delete-all-temp-marks) (encode-coding-region (point-min) (point-max) - (or (mime-charset-to-coding-system charset 'LF) + (or (and wl-on-mule ; one in mcs-ltn1 cannot take 2 arg. + (mime-charset-to-coding-system charset 'LF)) ;; Mule 2 doesn't have `*ctext*unix'. (mime-charset-to-coding-system charset))) (write-region-as-binary (point-min)(point-max) -- 1.7.10.4