From abfc8ced21135c1ad04a4dadd14b152311669b95 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 7 Jul 2019 02:00:36 +0200 Subject: [PATCH] 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. --- core/core-keybinds.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-keybinds.el b/core/core-keybinds.el index 221f2cb53..60d71fa7f 100644 --- a/core/core-keybinds.el +++ b/core/core-keybinds.el @@ -418,7 +418,8 @@ Properties :prefix [PREFIX] [...] set keybind prefix for following keys. PREFIX can be a cons cell: (PREFIX . DESCRIPTION) :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 :textobj KEY INNER-FN OUTER-FN define a text object keybind pair :if [CONDITION] [...]