(Fput_char_attribute): When processing a reference of a character, put
authortomo <tomo>
Fri, 14 May 2004 19:00:53 +0000 (19:00 +0000)
committertomo <tomo>
Fri, 14 May 2004 19:00:53 +0000 (19:00 +0000)
into the end of the reversed reference of each target character.

src/chartab.c

index 81d2105..564d77e 100644 (file)
@@ -3583,8 +3583,9 @@ Store CHARACTER's ATTRIBUTE with VALUE.
              if (!CONSP (ffv))
                put_char_attribute (ret, rev_feature, list1 (character));
              else if (NILP (Fmemq (character, ffv)))
-               put_char_attribute (ret, rev_feature,
-                                   Fcons (character, ffv));
+               put_char_attribute
+                 (ret, rev_feature,
+                  nconc2 (Fcopy_sequence (ffv), list1 (character)));
              Fsetcar (rest, ret);
            }
          rest = XCDR (rest);