]> git.eshelyaron.com Git - emacs.git/commitdiff
(COMPOSITION_MODIFICATION_FUNC): If PROP is not a cons, return Qnil.
authorKenichi Handa <handa@m17n.org>
Mon, 19 Aug 2002 02:46:28 +0000 (02:46 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 19 Aug 2002 02:46:28 +0000 (02:46 +0000)
src/composite.h

index e30deabb7f6ffb8b8511b310d447dc96bb430eb7..ce47aee7098cd680a167aa2f551c179c45562fb8 100644 (file)
@@ -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)                                       \