Mercurial > emacs
changeset 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 | 2de09ed6c85b |
children | 545e543e82d5 |
files | src/composite.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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) \