emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/coding.h


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/coding.h
Date: Sat, 20 May 2006 19:04:35 +0000

Index: emacs/src/coding.h
diff -u emacs/src/coding.h:1.79 emacs/src/coding.h:1.80
--- emacs/src/coding.h:1.79     Thu May 18 02:17:39 2006
+++ emacs/src/coding.h  Sat May 20 19:04:35 2006
@@ -462,7 +462,10 @@
    || (coding)->common_flags & CODING_REQUIRE_DECODING_MASK)
 
 /* Return 1 if the coding system CODING requires code conversion on
-   encoding.  */
+   encoding.
+   The non-multibyte part of the condition is to support encoding of
+   unibyte strings/buffers generated by string-as-unibyte or
+   (set-buffer-multibyte nil) from multibyte strings/buffers.  */
 #define CODING_REQUIRE_ENCODING(coding)        \
   ((coding)->src_multibyte             \
    || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]