Function: put-unicode-property-internal

put-unicode-property-internal is a function defined in chartab.c.

Signature

(put-unicode-property-internal CHAR-TABLE CH VALUE)

Documentation

Set an element of CHAR-TABLE for character CH to VALUE.

CHAR-TABLE must be what returned by unicode-property-table-internal.

Source Code

// Defined in /usr/src/emacs/src/chartab.c
{
  uniprop_encoder_t encoder;

  CHECK_CHAR_TABLE (char_table);
  CHECK_CHARACTER (ch);
  if (! UNIPROP_TABLE_P (char_table))
    error ("Invalid Unicode property table");
  encoder = uniprop_get_encoder (char_table);
  if (encoder)
    value = encoder (char_table, value);
  CHAR_TABLE_SET (char_table, XFIXNUM (ch), value);
  return Qnil;
}