A command is a Lisp function which may be called interactively, that is, either as a binding of an input event or by name (with the Meta-x key sequence).
Commands are defined in the same way as functions, using the defun
special form; the body forms of a command must contain an
interactive declaration. This shows that the function may be called
interactively part and tells the call-command function how to
compute the argument values to apply to the command.
Go to the first, previous, next, last section, table of contents.