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

ChangeLog
lisp/mm-url.el

index 689b971..b7d341c 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-group.el: Require `mm-url' only when compiling.
        (gnus-group-fetch-charter): Require `mm-url'.
 
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)
    ""))