]> git.eshelyaron.com Git - emacs.git/commitdiff
(DECODE_COMPOSITION_END): Check for ! COMPOSING (coding)
authorRichard M. Stallman <rms@gnu.org>
Mon, 17 Dec 2001 14:06:08 +0000 (14:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 17 Dec 2001 14:06:08 +0000 (14:06 +0000)
instead of only for COMPOSITION_DISABLED.

src/coding.c

index 6234a9bf5591cf6a023c7a826f611dbfb6da72bb..9a8b2a812e5665f892b94f6ae8ae64600a4d7ea0 100644 (file)
@@ -1665,7 +1665,7 @@ coding_allocate_composition_data (coding, char_offset)
 
 #define DECODE_COMPOSITION_END(c1)                                     \
   do {                                                                 \
-    if (coding->composing == COMPOSITION_DISABLED)                     \
+    if (! COMPOSING (coding))                                          \
       {                                                                        \
        *dst++ = ISO_CODE_ESC;                                          \
        *dst++ = c1;                                                    \