Mercurial > emacs
diff src/composite.h @ 46939:6c76daadf530
(COMPOSITION_MODIFICATION_FUNC): If PROP is not a cons, return Qnil.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Mon, 19 Aug 2002 02:46:28 +0000 |
| parents | 924488395239 |
| children | 23a1cea22d13 |
line wrap: on
line diff
--- a/src/composite.h Mon Aug 19 02:46:08 2002 +0000 +++ b/src/composite.h Mon Aug 19 02:46:28 2002 +0000 @@ -76,7 +76,7 @@ #define COMPOSITION_MODIFICATION_FUNC(prop) \ (COMPOSITION_REGISTERD_P (prop) \ ? XCDR (XCDR (XCDR (prop))) \ - : XCDR (prop)) + : CONSP (prop) ? XCDR (prop) : Qnil) /* Return the method of composition. */ #define COMPOSITION_METHOD(prop) \
