Mercurial > emacs
comparison src/coding.c @ 42103:e5356ff675e3
(DECODE_COMPOSITION_END): Check for ! COMPOSING (coding)
instead of only for COMPOSITION_DISABLED.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 17 Dec 2001 14:05:07 +0000 |
parents | 5c01da9c8604 |
children | d69c2368e549 |
comparison
equal
deleted
inserted
replaced
42102:9efbf5ef4ae7 | 42103:e5356ff675e3 |
---|---|
1663 | 1663 |
1664 /* Handle composition end sequence ESC 1. */ | 1664 /* Handle composition end sequence ESC 1. */ |
1665 | 1665 |
1666 #define DECODE_COMPOSITION_END(c1) \ | 1666 #define DECODE_COMPOSITION_END(c1) \ |
1667 do { \ | 1667 do { \ |
1668 if (coding->composing == COMPOSITION_DISABLED) \ | 1668 if (! COMPOSING (coding)) \ |
1669 { \ | 1669 { \ |
1670 *dst++ = ISO_CODE_ESC; \ | 1670 *dst++ = ISO_CODE_ESC; \ |
1671 *dst++ = c1; \ | 1671 *dst++ = c1; \ |
1672 coding->produced_char += 2; \ | 1672 coding->produced_char += 2; \ |
1673 } \ | 1673 } \ |