Add warning re :prefix-map in map! docstring

It really shouldn't be used outside of Doom proper; it has the
capability of destroying other :prefix-map's due to variable/keymap
naming collisions.
This commit is contained in:
Henrik Lissner 2019-07-07 02:00:36 +02:00
parent 51c067cc4d
commit abfc8ced21
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -418,7 +418,8 @@ Properties
:prefix [PREFIX] [...] set keybind prefix for following keys. PREFIX :prefix [PREFIX] [...] set keybind prefix for following keys. PREFIX
can be a cons cell: (PREFIX . DESCRIPTION) can be a cons cell: (PREFIX . DESCRIPTION)
:prefix-map [PREFIX] [...] same as :prefix, but defines a prefix keymap :prefix-map [PREFIX] [...] same as :prefix, but defines a prefix keymap
where the following keys will be bound. where the following keys will be bound. DO NOT
USE THIS IN YOUR PRIVATE CONFIG.
:after [FEATURE] [...] apply keybinds when [FEATURE] loads :after [FEATURE] [...] apply keybinds when [FEATURE] loads
:textobj KEY INNER-FN OUTER-FN define a text object keybind pair :textobj KEY INNER-FN OUTER-FN define a text object keybind pair
:if [CONDITION] [...] :if [CONDITION] [...]