* mm-url.el (mm-url-form-encode-xwfu): Use `file-coding-system' instead of
authoryamaoka <yamaoka>
Mon, 7 Oct 2002 03:04:25 +0000 (03:04 +0000)
committeryamaoka <yamaoka>
Mon, 7 Oct 2002 03:04:25 +0000 (03:04 +0000)
 `buffer-file-coding-system' when Mule 2 is running.

ChangeLog
lisp/mm-url.el

index 10e730b..bc59d77 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2002-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
 
+       * lisp/mm-url.el (mm-url-form-encode-xwfu): Use
+       `file-coding-system' instead of `buffer-file-coding-system' when
+       Mule 2 is running.
+
        * lisp/gnus.el (gnus-default-charset): Default to `iso-8859-1'.
 
 2002-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
index f1c032c..fb19b42 100644 (file)
@@ -378,7 +378,9 @@ spaces.  Die Die Die."
        (encode-coding-string chunk
                             (if (fboundp 'find-coding-systems-string)
                                 (car (find-coding-systems-string chunk))
-                                buffer-file-coding-system))
+                              (static-if (boundp 'MULE)
+                                  file-coding-system
+                                buffer-file-coding-system)))
      chunk)
    ""))