Go to the first, previous, next, last section, table of contents.


Creating Keymaps

Since there are two different types of keymap (lists and tables) there are two different functions for creating them with.

Function: make-keylist
Creates and returns a new key list containing no bindings.

(make-keylist)
    => (keymap)

Function: make-keytab
This function returns a new key table; it will be totally empty.

(make-keytab)
    => [nil nil ... nil]

If you want to produce a new copy of a keymap use the copy-sequence function (see section Sequence Functions) to duplicate the source keymap.


Go to the first, previous, next, last section, table of contents.