Function: keywordp
keywordp is a function defined in data.c.
Signature
(keywordp OBJECT)
Documentation
Return t if OBJECT is a keyword.
This means that it is a symbol with a print name beginning with :
interned in the initial obarray.
Probably introduced at or before Emacs version 21.1.
Source Code
// Defined in /usr/src/emacs/src/data.c
{
if (SYMBOLP (object)
&& SREF (SYMBOL_NAME (object), 0) == ':'
&& SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P (object))
return Qt;
return Qnil;
}