From 6e0bef84ca5cbc5d40a0fb7f26babd3221e016b8 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 22 Jan 2014 21:52:35 +0100 Subject: [PATCH] Add docstrings to variables --- transient-navigation.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/transient-navigation.el b/transient-navigation.el index d485174..4bd71c4 100644 --- a/transient-navigation.el +++ b/transient-navigation.el @@ -42,9 +42,15 @@ ;;; Code: -(defvar transient-navigation-mode-map (make-sparse-keymap)) -(defvar transient-C-navigation-map (make-sparse-keymap)) -(defvar transient-M-navigation-map (make-sparse-keymap)) +(defvar transient-navigation-mode-map (make-sparse-keymap) + "The keymap that will start all the trouble. + +The original keybindings will be remapped to the ones enabling +the transient keymap.") +(defvar transient-C-navigation-map (make-sparse-keymap) + "The keymap containing control-prefixed keys.") +(defvar transient-M-navigation-map (make-sparse-keymap) + "The keymap containing meta-prefixed keys.") (defmacro transnav-make-transient (key map func) "Bind KEY in MAP to FUNC with a transient map."