Function: charset-after

charset-after is a function defined in charset.c.

Signature

(charset-after &optional POS)

Documentation

Return charset of a character in the current buffer at position POS.

If POS is nil, it defaults to the current point. If POS is out of range, the value is nil.

View in manual

Probably introduced at or before Emacs version 20.3.

Source Code

// Defined in /usr/src/emacs/src/charset.c
{
  Lisp_Object ch;
  struct charset *charset;

  ch = Fchar_after (pos);
  if (! FIXNUMP (ch))
    return ch;
  charset = CHAR_CHARSET (XFIXNUM (ch));
  return (CHARSET_NAME (charset));
}