Keywords: xcoral

Next: set_mode_suffixes Up: Modes Previous: current_mode

### create_mode

`void create_mode(char * name)`
`void create_mode(char * name, char * suffixes)`
`void create_mode(char * name, char * suffixes, char * fontname)`

Creates a new mode named name if it does not already exist. This mode will be created with default mode bindings. If suffixes is valuated, the next file having one of these suffixes will be loaded in name mode. This also goes for fontname.

suffixes is one or a sequence of words beginning by a dot, and separated by a space. For instance the C_mode associated suffixes are defined with `".h .c .C .H .sc"`.

`create_mode("secret-mode", ".dontreadme", "5x8");`