From c1de6316cfe94ed9fbffcdd6554bdd599d1cc03c Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 19 Aug 2002 02:46:28 +0000 Subject: [PATCH] (COMPOSITION_MODIFICATION_FUNC): If PROP is not a cons, return Qnil. --- src/composite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composite.h b/src/composite.h index e30deabb7f6..ce47aee7098 100644 --- a/src/composite.h +++ b/src/composite.h @@ -76,7 +76,7 @@ extern Lisp_Object composition_temp; #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) \ -- 2.39.5