Page 266 Table of Contents Index Page 268
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 27. COMMAND PROCESSING

command directly, but will instead use a define-frame-command form that is automatically gen-
erated by define-application-frame. define-frame-command adds the command to the ap-
plication frame's command table. By default, define-command does not add the command to
any command table.

name-and-options is either a command name, or a cons of the command name and a list of
keyword-value pairs.

define-command defines two functions. The first function has the same name as the command
name, and implements the body of the command. It takes as arguments the arguments to the
command as specified by the define-command form, as required and keyword arguments.

The name of the other function defined by define-command is unspecified. It implements the
code used by the command processor for parsing and returning the command's arguments.

The keywords from name-and-options can be: The :name, :menu, and :keystroke options are only allowed if the :command-table option was
supplied explicitly or implicitly, as in define-frame-command.

arguments is a list consisting of argument descriptions. A single occurrence of the symbol &key
may appear in arguments to separate required command arguments from keyword arguments.
Each argument description consists of a parameter variable, followed by a presentation type
specifier, followed by keyword-value pairs. The keywords can be:


Page 266 Table of Contents Index Page 268
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E