6 Hemlock Variables ¶
Hemlock implements a system of variables separate from normal Lisp variables
for the following reasons:
- Hemlock has different scoping rules which are useful in an editor. Hemlock
variables can be local to a buffer (page buffers) or a mode
(page modes).
- Hemlock variables have hooks (page hooks), lists of functions
called when someone sets the variable. See
variable-value
for the
arguments Hemlock passes to these hook functions.
- There is a database of variable names and documentation which makes it easier
to find out what variables exist and what their values mean.