What is a colon (:) in Emacs lisp?

I'm not talking about variable keywords ( prefixed with colon ), I'm only talking about :

. Example from a session ielm




It seems to be a variable whose value :

, which makes it kind of like a noop like in a shell . I'm just wondering if the documentation is there. I cannot find it with describe-variable



source to share

2 answers


is a keyword, that is, a Lisp symbol whose print name begins with ":". It satisfies the predicate keywordp




It looks like it's just a variable whose value is :

in the end.
I can't see it by calling it describe-variable

interactively, but I can find it with (describe-variable :)


: value is :

Not documented as a variable.


Edit: no, it's not a variable. See the accepted answer.



All Articles