contents.gifprev1.gifnext1.gif

UNDEFINE_KEY

Description:

UNDEFINE_KEY removes the current bindings of the key passed as the first parameter. Only the key bindings in the specified key-maps/ key-map-lists which are passed as the second parameter are removed. Key bindings in other key-maps will remain unaffected.

Syntax:

UNDEFINE_KEY ( keyword )

UNDEFINE_KEY ( keyword, {key-map-list-name | key-map-name } )

Example:

The following removes the CTRL_Z_KEY definition from the key list TPU$KEY_LIST.

UNDEFINE_KEY (CTRL_Z_KEY, "TPU$KEY_LIST");

Errors:

TPU$_EMPTYKMLIST No key-maps in list.

TPU$_KEYMAPNTFND Invalid key-map-name.

TPU$_NODEFINITION Undefined key.

TPU$_NOKEYMAP The string is not a key-map.

TPU$_NOKEYMAPLIST Undefined key-map-list.

TPU$_NOTDEFINABLE Invalid argument.

Related Builtins:

CREATE_KEY_MAP

DEFINE_KEY