Next: , Previous: , Up: Commands   [Contents][Index]


7.1 Introduction

The way that the user tells Hemlock to do something is by invoking a command. Commands have three attributes:

name

A command’s name provides a way to refer to it. Command names are usually capitalized words separated by spaces, such as Forward Word.

documentation

The documentation for a command is used by on-line help facilities.

function

A command is implemented by a Lisp function, which is callable from Lisp.

Variable: *command-names*

Holds a string-table (page string-tables) associating command names to command objects. Whenever a new command is defined it is entered in this table.