[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master fd714bc 13/39: Fix docstring of which-key--get-keymap-bind
From: |
Justin Burkett |
Subject: |
[elpa] master fd714bc 13/39: Fix docstring of which-key--get-keymap-bindings |
Date: |
Thu, 21 Jun 2018 15:48:14 -0400 (EDT) |
branch: master
commit fd714bca146280ddbf363ae25d731f7f964b940f
Author: Justin Burkett <address@hidden>
Commit: Justin Burkett <address@hidden>
Fix docstring of which-key--get-keymap-bindings
---
which-key.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/which-key.el b/which-key.el
index 8d7256f..f16361d 100644
--- a/which-key.el
+++ b/which-key.el
@@ -1654,7 +1654,9 @@ alists. Returns a list (key separator description)."
(nreverse new-list)))
(defun which-key--get-keymap-bindings (keymap &optional all prefix)
- "Retrieve top-level bindings from KEYMAP."
+ "Retrieve top-level bindings from KEYMAP.
+If ALL is non-nil, get all bindings, not just the top-level
+one. PREFIX is for internal use and should not be used."
(let (bindings)
(map-keymap
(lambda (ev def)
@@ -1663,7 +1665,8 @@ alists. Returns a list (key separator description)."
(unless (string-match-p which-key--ignore-keys-regexp key-desc)
(if (and all (keymapp def))
(setq bindings
- (append bindings (which-key--get-keymap-bindings def t
key)))
+ (append bindings
+ (which-key--get-keymap-bindings def t key)))
(cl-pushnew
(cons key-desc
(cond
- [elpa] master updated (81c4a3d -> fb09d75), Justin Burkett, 2018/06/21
- [elpa] master 1dd91df 01/39: Implement #182, Justin Burkett, 2018/06/21
- [elpa] master 1219622 02/39: Remove debugging message, Justin Burkett, 2018/06/21
- [elpa] master c71fbbb 03/39: Add option to show docstrings in which-key buffer, Justin Burkett, 2018/06/21
- [elpa] master fce520f 08/39: Improve which-key--format-and-replace, Justin Burkett, 2018/06/21
- [elpa] master caa18b2 12/39: Fix descriptions of keys involving meta when showing keymaps, Justin Burkett, 2018/06/21
- [elpa] master e5db4b6 07/39: Handle null description in which-key--propertize-description, Justin Burkett, 2018/06/21
- [elpa] master 0aae4c8 04/39: Improve which-key-show-docstrings option, Justin Burkett, 2018/06/21
- [elpa] master 6a4d2c2 09/39: Extract which-key--ignore-keys-regexp and which-key-show-keymap-1, Justin Burkett, 2018/06/21
- [elpa] master ca991b0 11/39: Autoload the show keymap functions, Justin Burkett, 2018/06/21
- [elpa] master fd714bc 13/39: Fix docstring of which-key--get-keymap-bindings,
Justin Burkett <=
- [elpa] master b5f7063 15/39: Detect menu-items in which-key--get-keymap-bindings, Justin Burkett, 2018/06/21
- [elpa] master 5493d22 05/39: Fix description truncation when showing docstrings, Justin Burkett, 2018/06/21
- [elpa] master 2e53187 14/39: Fix typo in previous commit, Justin Burkett, 2018/06/21
- [elpa] master 7da9f8c 16/39: Fix which-key--show-keymap when no bidnings found, Justin Burkett, 2018/06/21
- [elpa] master 3c05294 26/39: Fix which-key--create-pages, Justin Burkett, 2018/06/21
- [elpa] master adc0d66 06/39: Use safe version of propertize, Justin Burkett, 2018/06/21
- [elpa] master 0f80d0f 17/39: Use symbol at point in whow keymap functions, Justin Burkett, 2018/06/21
- [elpa] master 61e399f 22/39: Add and use which-key--automatic-display, Justin Burkett, 2018/06/21
- [elpa] master 506c348 10/39: Add which-key-show-full-keymap, Justin Burkett, 2018/06/21
- [elpa] master d19fe4e 30/39: Fix switching to top-level from which-key-undo-key, Justin Burkett, 2018/06/21