Next: , Previous: , Up: The Current Environment   [Contents][Index]


5.1 Different Scopes

In Hemlock the values of variables (page variables), key-bindings (page key-bindings) and character-attributes (page character-attributes) may depend on the current-buffer and the modes active in it. There are three possible scopes for Hemlock values:

buffer local

The value is present only if the buffer it is local to is the current-buffer.

mode local

The value is present only when the mode it is local to is active in the current-buffer.

global

The value is always present unless shadowed by a buffer or mode local value.