Function: category-set-mnemonics

category-set-mnemonics is a function defined in category.c.

Signature

(category-set-mnemonics CATEGORY-SET)

Documentation

Return a string containing mnemonics of the categories in CATEGORY-SET.

CATEGORY-SET is a bool-vector, and the categories "in" it are those that are indexes where t occurs in the bool-vector. The return value is a string containing those same categories.

View in manual

Source Code

// Defined in /usr/src/emacs/src/category.c
{
  int i, j;
  char str[96];

  CHECK_CATEGORY_SET (category_set);

  j = 0;
  for (i = 32; i < 127; i++)
    if (CATEGORY_MEMBER (i, category_set))
      str[j++] = i;
  str[j] = '\0';

  return build_string (str);
}